Disable C++ extensions for linux CI builds

This commit is contained in:
Martin Hořeňovský 2021-02-20 20:37:31 +01:00
parent 1ee0940427
commit 4b50b13970
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -53,9 +53,13 @@ jobs:
# Note: $GITHUB_WORKSPACE is distinct from ${{runner.workspace}}.
# This is important
run: |
cmake -Bbuild -H$GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
-DCMAKE_CXX_STANDARD=${{matrix.std}} -DCATCH_DEVELOPMENT_BUILD=ON \
-DCATCH_BUILD_SURROGATES=${{matrix.surrogates}} -G Ninja
cmake -Bbuild -H$GITHUB_WORKSPACE \
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
-DCMAKE_CXX_STANDARD=${{matrix.std}} \
-DCMAKE_CXX_EXTENSIONS=OFF \
-DCATCH_DEVELOPMENT_BUILD=ON \
-DCATCH_BUILD_SURROGATES=${{matrix.surrogates}} \
-G Ninja
- name: Build tests + lib
working-directory: ${{runner.workspace}}/build