Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-02-20 10:29:01 +0100
committerGitHub2021-02-20 10:29:01 +0100
commit1ee09404271265be46851e2fd4b8d4917293a722 (patch)
treedd9c629650bd6934dd5a00eaa1f8e3b257ee61d7 /.github
parentc12170ff69ddc9a0a25ec2025783b815354c6d26 (diff)
parent29050daec0fc1a1b092ac2dc711bfc40648b8976 (diff)
downloadcatch3-1ee09404271265be46851e2fd4b8d4917293a722.tar.gz
Merge pull request #2177 from catchorg/devel-generating-surrogates
Add surrogate TUs option to CMake
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/linux-builds.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/linux-builds.yml b/.github/workflows/linux-builds.yml
index 93ae21e6..eae7e003 100644
--- a/.github/workflows/linux-builds.yml
+++ b/.github/workflows/linux-builds.yml
@@ -20,6 +20,7 @@ jobs:
- clang++-10
build_type: [Debug, Release]
std: [14]
+ surrogates: [OFF]
include:
# cannot be installed on ubuntu-20.04 be default?
# - cxx: g++-6
@@ -30,6 +31,13 @@ jobs:
other_pkgs: clang-7
- cxx: clang++-10
other_pkgs: clang-10
+ # We want one build to build surrogates -- but not more, to
+ # avoid trouble with long compilation/CI times.
+ - cxx: clang++-10
+ build_type: Debug
+ std: 14
+ other_pkgs: clang-10
+ surrogates: ON
steps:
- uses: actions/checkout@v2
@@ -47,7 +55,7 @@ jobs:
run: |
cmake -Bbuild -H$GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
-DCMAKE_CXX_STANDARD=${{matrix.std}} -DCATCH_DEVELOPMENT_BUILD=ON \
- -G Ninja
+ -DCATCH_BUILD_SURROGATES=${{matrix.surrogates}} -G Ninja
- name: Build tests + lib
working-directory: ${{runner.workspace}}/build