From 8ba4e36ead1f174e643d5a456e21719816161a13 Mon Sep 17 00:00:00 2001 From: kr-2003 Date: Wed, 9 Jul 2025 10:26:29 +0530 Subject: [PATCH 1/3] moving codecov from ub-arm to ub-x86 --- .github/workflows/main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f8061f4a..72485b20d 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 @@ -82,6 +73,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 From 2c925abdfbc09a2c0a7a33f66f8a62ff0d8c3ba0 Mon Sep 17 00:00:00 2001 From: kr-2003 Date: Wed, 9 Jul 2025 11:11:17 +0530 Subject: [PATCH 2/3] mismatch ignored in codecov --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 72485b20d..c64251861 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -324,7 +324,7 @@ jobs: # Create lcov report # capture coverage info vers="${CC#*-}" - lcov --directory build/ --capture --output-file coverage.info --gcov-tool /usr/bin/gcov-${vers} + lcov --directory build/ --capture --output-file coverage.info --gcov-tool /usr/bin/gcov-${vers} --ignore-errors mismatch lcov --remove coverage.info '/usr/*' "${HOME}"'/.cache/*' ${{ github.workspace }}'/llvm-project/*' ${{ github.workspace }}'/unittests/*' --output-file coverage.info # output coverage data for debugging (optional) lcov --list coverage.info From 048c272a1a9363abd8c013c5bb88e00a328e8f6e Mon Sep 17 00:00:00 2001 From: kr-2003 Date: Wed, 9 Jul 2025 12:07:44 +0530 Subject: [PATCH 3/3] using 22.04 for coverage --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c64251861..93e615cf3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -73,8 +73,8 @@ 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 + - name: ubu22-x86-gcc12-clang-repl-20-coverage + os: ubuntu-22.04 compiler: gcc-12 clang-runtime: '20' cling: Off @@ -324,7 +324,7 @@ jobs: # Create lcov report # capture coverage info vers="${CC#*-}" - lcov --directory build/ --capture --output-file coverage.info --gcov-tool /usr/bin/gcov-${vers} --ignore-errors mismatch + 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 # output coverage data for debugging (optional) lcov --list coverage.info