mirror of https://github.com/koide3/small_gicp.git
use ubuntu 24.04 runner to avoid packaging issue (#111)
* use ubuntu 24.04 runner to avoid packaging issue * ignore errors mismatch
This commit is contained in:
parent
db2f8e6646
commit
df145cbb15
|
|
@ -13,7 +13,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
coverage:
|
coverage:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
||||||
|
|
@ -111,8 +111,8 @@ if(ENABLE_COVERAGE)
|
||||||
find_program(GENHTML genhtml REQUIRED)
|
find_program(GENHTML genhtml REQUIRED)
|
||||||
|
|
||||||
add_custom_target(coverage
|
add_custom_target(coverage
|
||||||
COMMAND ${LCOV} --directory . --capture --output-file coverage.info
|
COMMAND ${LCOV} --directory . --capture --output-file coverage.info --ignore-errors mismatch
|
||||||
COMMAND ${LCOV} --remove coverage.info -o coverage.info '/usr/*'
|
COMMAND ${LCOV} --remove coverage.info -o coverage.info '/usr/*' --ignore-errors mismatch
|
||||||
COMMAND ${GENHTML} --demangle-cpp -o coverage coverage.info
|
COMMAND ${GENHTML} --demangle-cpp -o coverage coverage.info
|
||||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue