[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:
12
circle.yml
12
circle.yml
@@ -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
|
||||
|
||||
#
|
||||
|
||||
1
metrics/macos-xcode11-debug-coverage-nightly-style.json
Symbolic link
1
metrics/macos-xcode11-debug-coverage-nightly-style.json
Symbolic link
@@ -0,0 +1 @@
|
||||
macos-xcode11-debug-style.json
|
||||
Reference in New Issue
Block a user