Move Examples and ExtraTests Mac builds to Github Actions

This commit is contained in:
Martin Hořeňovský 2020-11-28 19:14:21 +01:00
parent 19cbdebb0e
commit 1d746a15ac
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
2 changed files with 8 additions and 9 deletions

View File

@ -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

View File

@ -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