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

summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-11-28 19:14:21 +0100
committerMartin Hořeňovský2020-11-28 21:03:38 +0100
commit1d746a15ac3de5dfa8244eb4b3d773a463519fb0 (patch)
treec1a4531c25093f4585955421afe9d68bb345622b /.github/workflows
parent19cbdebb0e9045b22c5c1229f9c69ab9410c7741 (diff)
downloadcatch3-1d746a15ac3de5dfa8244eb4b3d773a463519fb0.tar.gz
Move Examples and ExtraTests Mac builds to Github Actions
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/mac-builds.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/mac-builds.yml b/.github/workflows/mac-builds.yml
index 52057f47..edbae88a 100644
--- a/.github/workflows/mac-builds.yml
+++ b/.github/workflows/mac-builds.yml
@@ -12,6 +12,10 @@ jobs:
- clang++
build_type: [Debug, Release]
std: [14]
+ include:
+ - build_type: Debug
+ examples: ON
+ extra_tests: ON
steps:
- uses: actions/checkout@v2
@@ -24,8 +28,10 @@ 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
+ cmake -Bbuild -H$GITHUB_WORKSPACE \
+ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} \
+ -DCATCH_DEVELOPMENT_BUILD=ON -DCATCH_BUILD_EXAMPLES=${{matrix.examples}} \
+ -DCATCH_BUILD_EXTRA_TESTS=${{matrix.examples}}
- name: Build tests + lib
working-directory: ${{runner.workspace}}/build