From 184d22a393c1354364fd6c7ff36dfafd2253e9e3 Mon Sep 17 00:00:00 2001 From: mcbarton Date: Tue, 21 Oct 2025 11:41:14 +0100 Subject: [PATCH] Update coverage bot to Ubuntu 24.04 x86 runner --- .github/workflows/main.yml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ac9450d0b..fd4846270 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,15 +23,6 @@ jobs: matrix: include: # Ubuntu Arm Jobs - - name: ubu22-arm-gcc12-clang-repl-20-coverage - os: ubuntu-22.04-arm - compiler: gcc-12 - clang-runtime: '20' - cling: Off - cppyy: Off - llvm_enable_projects: "clang" - llvm_targets_to_build: "host;NVPTX" - coverage: true - name: ubu24-arm-gcc12-clang-repl-20 os: ubuntu-24.04-arm compiler: gcc-12 @@ -66,6 +57,15 @@ jobs: llvm_enable_projects: "clang" llvm_targets_to_build: "host;NVPTX" # Ubuntu X86 Jobs + - name: ubu24-x86-gcc12-clang-repl-20-coverage + os: ubuntu-24.04 + compiler: gcc-12 + clang-runtime: '20' + cling: Off + cppyy: Off + llvm_enable_projects: "clang" + llvm_targets_to_build: "host;NVPTX" + coverage: true - name: ubu24-x86-gcc12-clang-repl-20 os: ubuntu-24.04 compiler: gcc-12 @@ -261,10 +261,13 @@ jobs: # Create lcov report # capture coverage info vers="${CC#*-}" - lcov --directory build/ --capture --output-file coverage.info --gcov-tool /usr/bin/gcov-${vers} - lcov --remove coverage.info '/usr/*' "${HOME}"'/.cache/*' ${{ github.workspace }}'/llvm-project/*' ${{ github.workspace }}'/unittests/*' --output-file coverage.info + lcov --directory build/ --capture --output-file coverage.info --gcov-tool /usr/bin/gcov-${vers} --ignore-errors mismatch + lcov --remove coverage.info '/usr/*' ${{ github.workspace }}'/llvm-project/*' --ignore-errors unused --output-file coverage.info + lcov --remove coverage.info '${{ github.workspace }}/unittests/*' --ignore-errors unused --output-file coverage.info + lcov --remove coverage.info '${{ github.workspace }}/build/*' --ignore-errors unused --output-file coverage.info # output coverage data for debugging (optional) lcov --list coverage.info + rm -rf ./build/ - name: Upload to codecov.io if: ${{ success() && (matrix.coverage == true) }} @@ -289,4 +292,3 @@ jobs: uses: mxschmitt/action-tmate@v3 # When debugging increase to a suitable value! timeout-minutes: 30 -