diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2023-04-26 22:10:40 -0700 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2023-04-27 00:15:41 -0700 |
commit | 9f241a85dccfad1561aad1b4be0f5b465d4e797d (patch) | |
tree | 3cd8c79ce09db47e51114048d3cd0ffb26ddffd6 /.github | |
parent | 2572e1333ecc58ff3c55fff755ede6c702779829 (diff) | |
download | curl-9f241a85dccfad1561aad1b4be0f5b465d4e797d.tar.gz |
CI: switch the awslc builds to build out-of-tree
This is a common configuration that should be tested to avoid
regressions. The awsls cmake build was already out-of-tree so the
automake build now joins it.
Ref: #11006
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/awslc.yml | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/.github/workflows/awslc.yml b/.github/workflows/awslc.yml index 6e012ea45..260f0c6d6 100644 --- a/.github/workflows/awslc.yml +++ b/.github/workflows/awslc.yml @@ -70,19 +70,23 @@ jobs: - run: autoreconf -fi name: 'autoreconf' - - run: ./configure --enable-warnings --enable-werror --with-openssl=$HOME/awslc - name: 'configure' + - run: | + mkdir build + cd build + ../configure --enable-warnings --enable-werror --with-openssl=$HOME/awslc + cd .. + name: 'configure out-of-tree' - - run: make -j 2 V=1 + - run: make -C build -j 2 V=1 name: 'make' - - run: make -j 2 V=1 examples + - run: make -C build -j 2 V=1 examples name: 'make examples' - - run: make -j 2 V=1 -C tests + - run: make -C build -j 2 V=1 -C tests name: 'make tests' - - run: make V=1 test-ci + - run: make -C build V=1 test-ci name: 'run tests' cmake: @@ -113,7 +117,7 @@ jobs: # CMAKE_COMPILE_WARNING_AS_ERROR is available in cmake 3.24 or later - run: cmake -Bbuild -DOPENSSL_ROOT_DIR=$HOME/awslc -DBUILD_SHARED_LIBS=ON -DCMAKE_COMPILE_WARNING_AS_ERROR=ON . - name: 'cmake generate' + name: 'cmake generate out-of-tree' - run: cmake --build build --parallel name: 'cmake build' |