mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Move Examples and ExtraTests Mac builds to Github Actions
This commit is contained in:
parent
19cbdebb0e
commit
1d746a15ac
10
.github/workflows/mac-builds.yml
vendored
10
.github/workflows/mac-builds.yml
vendored
@ -12,6 +12,10 @@ jobs:
|
|||||||
- clang++
|
- clang++
|
||||||
build_type: [Debug, Release]
|
build_type: [Debug, Release]
|
||||||
std: [14]
|
std: [14]
|
||||||
|
include:
|
||||||
|
- build_type: Debug
|
||||||
|
examples: ON
|
||||||
|
extra_tests: ON
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -24,8 +28,10 @@ jobs:
|
|||||||
# Note: $GITHUB_WORKSPACE is distinct from ${{runner.workspace}}.
|
# Note: $GITHUB_WORKSPACE is distinct from ${{runner.workspace}}.
|
||||||
# This is important
|
# This is important
|
||||||
run: |
|
run: |
|
||||||
cmake -Bbuild -H$GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
|
cmake -Bbuild -H$GITHUB_WORKSPACE \
|
||||||
-DCMAKE_CXX_STANDARD=${{matrix.std}} -DCATCH_DEVELOPMENT_BUILD=ON
|
-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
|
- name: Build tests + lib
|
||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
|
@ -127,13 +127,6 @@ matrix:
|
|||||||
packages: ['g++-7', 'lcov']
|
packages: ['g++-7', 'lcov']
|
||||||
env: COMPILER='g++-7' CPP14=1 EXAMPLES=1 COVERAGE=1 EXTRAS=1
|
env: COMPILER='g++-7' CPP14=1 EXAMPLES=1 COVERAGE=1 EXTRAS=1
|
||||||
|
|
||||||
# OSX Clang Builds
|
|
||||||
- os: osx
|
|
||||||
osx_image: xcode11.2
|
|
||||||
compiler: clang
|
|
||||||
env: COMPILER='clang++' CPP14=1 EXAMPLES=1 COVERAGE=1 EXTRAS=1
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Special builds, e.g. conan
|
# Special builds, e.g. conan
|
||||||
- language: python
|
- language: python
|
||||||
|
Loading…
Reference in New Issue
Block a user