Skip to content

Commit df145cb

Browse files
authored
use ubuntu 24.04 runner to avoid packaging issue (#111)
* use ubuntu 24.04 runner to avoid packaging issue * ignore errors mismatch
1 parent db2f8e6 commit df145cb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
coverage:
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-24.04
1717

1818
steps:
1919
- uses: actions/checkout@v2

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
test:
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-24.04
1717

1818
steps:
1919
- uses: actions/checkout@v2

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ if(ENABLE_COVERAGE)
111111
find_program(GENHTML genhtml REQUIRED)
112112

113113
add_custom_target(coverage
114-
COMMAND ${LCOV} --directory . --capture --output-file coverage.info
115-
COMMAND ${LCOV} --remove coverage.info -o coverage.info '/usr/*'
114+
COMMAND ${LCOV} --directory . --capture --output-file coverage.info --ignore-errors mismatch
115+
COMMAND ${LCOV} --remove coverage.info -o coverage.info '/usr/*' --ignore-errors mismatch
116116
COMMAND ${GENHTML} --demangle-cpp -o coverage coverage.info
117117
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
118118
endif()

0 commit comments

Comments
 (0)