[build] Collect code coverage from macOS builds

Collect coverage from development builds and add a nightly build
to collect metrics.
This commit is contained in:
Juha Alanen
2020-03-05 18:03:02 +02:00
parent c9c03b092b
commit 987f214273
2 changed files with 12 additions and 1 deletions

View File

@@ -152,8 +152,9 @@ workflows:
target_is_macos: true
requires:
- macos-xcode11-release
config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=Debug'
config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=Debug -DMBGL_WITH_COVERAGE=ON'
style_tests: true
upload_coverage: true
- build-template:
name: ios-xcode11-release
executor_name: macos-11_3_1
@@ -176,6 +177,15 @@ workflows:
config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=gcc-8 -DCMAKE_CXX_COMPILER=g++-8 -DCMAKE_BUILD_TYPE=Debug -DMBGL_WITH_COVERAGE=ON'
style_tests: true
upload_coverage: true
- build-template:
name: macos-xcode11-debug-coverage-nightly
executor_name: macos-11_1_0
target_is_macos: true
requires:
- linux-gcc8-debug-coverage-nightly
config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=Debug -DMBGL_WITH_COVERAGE=ON'
style_tests: true
upload_coverage: true
publish_coverage: true
#

View File

@@ -0,0 +1 @@
macos-xcode11-debug-style.json