summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuha Alanen <juha.alanen@mapbox.com>2020-03-05 18:03:02 +0200
committerJuha Alanen <juha.alanen@mapbox.com>2020-03-05 18:11:40 +0200
commitfb2c7f58dbfff05ab25472f7730e883e96d05d94 (patch)
treea5271e27eb25e1f81141c068dfe15136743f9485
parentdc510e44c085e87233b628a995b6957ad9c0ab9b (diff)
downloadqtlocation-mapboxgl-upstream/jmalanen-coverage.tar.gz
[build] Collect code coverage from macOS buildsupstream/jmalanen-coverage
Collect coverage from development builds and add a nightly build to collect metrics.
-rw-r--r--circle.yml12
l---------metrics/macos-xcode11-debug-coverage-nightly-style.json1
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