IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 1166a88e authored by ralfulrich's avatar ralfulrich Committed by Maximilian Reininghaus
Browse files

update docker container

parent d0bae245
No related branches found
No related tags found
No related merge requests found
...@@ -55,8 +55,6 @@ check-copyrights: ...@@ -55,8 +55,6 @@ check-copyrights:
########################################################## ##########################################################
check-clang-format: check-clang-format:
image: corsika/devel:u-18.04 image: corsika/devel:u-18.04
before_script:
- apt-get update && apt-get install -y -qq clang-format
stage: quality stage: quality
tags: tags:
- corsika - corsika
......
...@@ -93,6 +93,9 @@ endif () ...@@ -93,6 +93,9 @@ endif ()
if (CMAKE_BUILD_TYPE STREQUAL Coverage) if (CMAKE_BUILD_TYPE STREQUAL Coverage)
find_package (Perl REQUIRED) find_package (Perl REQUIRED)
# compile coverage under -O2 to remove unused functions
add_compile_options ("-O2")
set (GCOV gcov CACHE STRING "gcov executable" FORCE) set (GCOV gcov CACHE STRING "gcov executable" FORCE)
set (LCOV_BIN_DIR "${PROJECT_SOURCE_DIR}/ThirdParty/lcov/bin") set (LCOV_BIN_DIR "${PROJECT_SOURCE_DIR}/ThirdParty/lcov/bin")
# collect coverage data # collect coverage data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment