summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-05-24 15:41:05 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-05-24 15:41:05 +0200
commit503c88ccf188af25d170667b46bea0164d38d840 (patch)
tree0b60b0206b09fa9cc15747d7b7c2403d68a24803 /.gitlab-ci.yml
parent4f6f3bcc9923b8b7c2d64ca2ea400ce55d2372fe (diff)
downloadturns-503c88ccf188af25d170667b46bea0164d38d840.tar.xz
turns-503c88ccf188af25d170667b46bea0164d38d840.zip
ci: clean up coverage generation
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index faea96e..e13c26c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,23 +33,21 @@ build-and-test:
parallel:
matrix:
- BUILD_TYPE:
- - Debug
+ - RelWithDebInfo
- MinSizeRel
coverage:
stage: coverage
script:
- - lcov -c -o coverage.info -d build -b . --config-file .lcovrc
- - lcov -l coverage.info
- - genhtml -o coverage coverage.info
+ - lcov --config-file .lcovrc --capture --directory $(pwd) --output-file coverage.info
+ - lcov --config-file .lcovrc --list coverage.info
coverage: '/Total:\|(\d+\.?\d+)\%/'
artifacts:
paths:
- - coverage/*
- coverage.info
expire_in: 24 hours
needs:
- job: build-and-test
parallel:
matrix:
- - BUILD_TYPE: Debug
+ - BUILD_TYPE: RelWithDebInfo