summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2023-11-28 15:55:43 +0100
committerRichard Levitte <levitte@openssl.org>2023-12-07 07:54:53 +0100
commit95a99fd1ac64e64c6aa725e00045f280ea99ccdb (patch)
tree2570b6eec77efd6de3b5e23fb98c1449c4c08761 /.github/workflows
parentae5a9874e7b57703c6dd66fa8527b376f89e00b7 (diff)
Modify 'out-of-source-and-install' to work with a read-only source tree
This also adds the configuration options 'enable-quic'. Fixes #22907 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Todd Short <todd.short@me.com> (Merged from https://github.com/openssl/openssl/pull/22908) (cherry picked from commit 266a3553d743f5335ccdff196a07916f03d34d0d)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml18
1 files changed, 15 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2ba14153c2..38ad82fe69 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -336,21 +336,33 @@ jobs:
- name: make test
run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
- out-of-source-and-install:
+ # out-of-source-and-install checks multiple things at the same time:
+ # - That building, testing and installing works from an out-of-source
+ # build tree
+ # - That building, testing and installing works with a read-only source
+ # tree
+ out-of-readonly-source-and-install:
strategy:
matrix:
os: [ubuntu-latest, macos-latest ]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
+ with:
+ path: ./source
- name: checkout fuzz/corpora submodule
run: git submodule update --init --depth 1 fuzz/corpora
- - name: extra preparations
+ working-directory: ./source
+ - name: make source read-only
+ run: chmod -R a-w ./source
+ - name: create build and install directories
run: |
mkdir ./build
mkdir ./install
- name: config
- run: ../config --banner=Configured enable-fips enable-acvp-tests --strict-warnings --prefix=$(cd ../install; pwd) && perl configdata.pm --dump
+ run: |
+ ../source/config --banner=Configured enable-fips enable-quic enable-acvp-tests --strict-warnings --prefix=$(cd ../install; pwd)
+ perl configdata.pm --dump
working-directory: ./build
- name: make
run: make -s -j4