diff options
author | Juha Alanen <juha.alanen@mapbox.com> | 2020-03-05 18:03:02 +0200 |
---|---|---|
committer | Juha Alanen <juha.alanen@mapbox.com> | 2020-03-06 13:52:00 +0200 |
commit | 987f214273f5878d58c3e4c823bfee2516fc1895 (patch) | |
tree | cef7bf6ec40fb84e500620cb18a27171dc2bf3d4 | |
parent | c9c03b092b305e54a8808d149f05ff8f11692c21 (diff) | |
download | qtlocation-mapboxgl-987f214273f5878d58c3e4c823bfee2516fc1895.tar.gz |
[build] Collect code coverage from macOS builds
Collect coverage from development builds and add a nightly build
to collect metrics.
-rw-r--r-- | circle.yml | 12 | ||||
l--------- | metrics/macos-xcode11-debug-coverage-nightly-style.json | 1 |
2 files changed, 12 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml index 152e9a231a..70f74442cc 100644 --- a/circle.yml +++ b/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 # diff --git a/metrics/macos-xcode11-debug-coverage-nightly-style.json b/metrics/macos-xcode11-debug-coverage-nightly-style.json new file mode 120000 index 0000000000..71006dc2ec --- /dev/null +++ b/metrics/macos-xcode11-debug-coverage-nightly-style.json @@ -0,0 +1 @@ +macos-xcode11-debug-style.json
\ No newline at end of file |