summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2022-06-14 14:50:20 -0500
committerFederico Mena Quintero <federico@gnome.org>2022-06-14 14:50:20 -0500
commitd61e196cd1aed037e9c15c2845aa44cf2d3b6a8a (patch)
tree6d2b24bc009536393c59aa2d29097f38b80d9d3f /.gitlab-ci.yml
parentd5c8e9d85a31ae73b50a366edbf6c3e51c39404c (diff)
downloadlibrsvg-d61e196cd1aed037e9c15c2845aa44cf2d3b6a8a.tar.gz
CI: do not pass --llvm to grcov, since we have a gcc+llvm build
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/709>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 15caffe9..171d939e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -288,8 +288,8 @@ coverage:
after_script:
- source ./ci/env.sh
- mkdir -p public
- - grcov coverage-profiles --binary-path ./_build/target/debug/ --source-dir . --output-type cobertura --llvm --branch --ignore-not-existing --ignore "build.rs" --ignore '_build/*' --ignore 'cargo_cache/*' -o coverage.xml
- - grcov coverage-profiles --binary-path ./_build/target/debug/ --source-dir . --output-type html --llvm --branch --ignore-not-existing --ignore "build.rs" --ignore '_build/*' --ignore 'cargo_cache/*' --output-path public/coverage
+ - grcov coverage-profiles --binary-path ./_build/target/debug/ --source-dir . --output-type cobertura --branch --ignore-not-existing --ignore "build.rs" --ignore '_build/*' --ignore 'cargo_cache/*' -o coverage.xml
+ - grcov coverage-profiles --binary-path ./_build/target/debug/ --source-dir . --output-type html --branch --ignore-not-existing --ignore "build.rs" --ignore '_build/*' --ignore 'cargo_cache/*' --output-path public/coverage
- grep -Eo 'line-rate="[^"]+"' coverage.xml | head -n 1 | grep -Eo '[0-9.]+' | awk '{ print "Coverage:", $1 * 100 }'
coverage: '/Coverage: \d+\.\d+/'
artifacts: