3131 cppyy : Off
3232 llvm_enable_projects : " clang"
3333 llvm_targets_to_build : " host;NVPTX"
34- - name : ubu22-arm-gcc12-clang-repl-20-coverage
35- os : ubuntu-22.04-arm
36- compiler : gcc-12
37- clang-runtime : ' 20'
38- cling : Off
39- cppyy : Off
40- llvm_enable_projects : " clang"
41- llvm_targets_to_build : " host;NVPTX"
42- coverage : true
4334 - name : ubu24-arm-gcc12-clang-repl-20
4435 os : ubuntu-24.04-arm
4536 compiler : gcc-12
@@ -74,14 +65,15 @@ jobs:
7465 llvm_enable_projects : " clang"
7566 llvm_targets_to_build : " host;NVPTX"
7667 # Ubuntu X86 Jobs
77- - name : ubu24-x86-gcc12-clang-repl-21
68+ - name : ubu24-x86-gcc12-clang-repl-21-coverage
7869 os : ubuntu-24.04
7970 compiler : gcc-12
8071 clang-runtime : ' 21'
8172 cling : Off
8273 cppyy : Off
8374 llvm_enable_projects : " clang"
8475 llvm_targets_to_build : " host;NVPTX"
76+ coverage : true
8577 - name : ubu24-x86-gcc12-clang-repl-20
8678 os : ubuntu-24.04
8779 compiler : gcc-12
@@ -252,7 +244,7 @@ jobs:
252244 fetch-depth : 0
253245
254246 - name : Set up Python
255- uses : actions/setup-python@v5
247+ uses : actions/setup-python@v6
256248 with :
257249 python-version : ' 3.11'
258250
@@ -307,10 +299,13 @@ jobs:
307299 # Create lcov report
308300 # capture coverage info
309301 vers="${CC#*-}"
310- lcov --directory build/ --capture --output-file coverage.info --gcov-tool /usr/bin/gcov-${vers}
311- lcov --remove coverage.info '/usr/*' "${HOME}"'/.cache/*' ${{ github.workspace }}'/llvm-project/*' ${{ github.workspace }}'/unittests/*' --output-file coverage.info
302+ lcov --directory build/ --capture --output-file coverage.info --gcov-tool /usr/bin/gcov-${vers} --ignore-errors mismatch
303+ lcov --remove coverage.info '/usr/*' ${{ github.workspace }}'/llvm-project/*' --ignore-errors unused --output-file coverage.info
304+ lcov --remove coverage.info '${{ github.workspace }}/unittests/*' --ignore-errors unused --output-file coverage.info
305+ lcov --remove coverage.info '${{ github.workspace }}/build/*' --ignore-errors unused --output-file coverage.info
312306 # output coverage data for debugging (optional)
313307 lcov --list coverage.info
308+ rm -rf ./build/
314309
315310 - name : Upload to codecov.io
316311 if : ${{ success() && (matrix.coverage == true) }}
@@ -335,4 +330,3 @@ jobs:
335330 uses : mxschmitt/action-tmate@v3
336331 # When debugging increase to a suitable value!
337332 timeout-minutes : 30
338-
0 commit comments