IAP GITLAB

Commit 8d929c4b authored by Ralf Ulrich's avatar Ralf Ulrich

added full test logfile as compressed artefact, cascade_example -> 0deg shower

parent 231c3d8c
Pipeline #146 passed with stage
in 4 minutes and 24 seconds
......@@ -16,7 +16,11 @@ build:
- cd build
- cmake ..
- cmake --build .
- ctest
- ctest -V >& test.log
- gzip -9 test.log
artifacts:
paths:
- test.log.gz
# code_quality:
# image: docker:stable
......
......@@ -37,10 +37,14 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
endif()
# enable warnings and disallow non-standard language
set(CMAKE_CXX_FLAGS "-Wall -pedantic -Wextra -Wno-ignored-qualifiers -Wno-nonportable-include-path")
set(CMAKE_CXX_FLAGS "-Wall -pedantic -Wextra -Wno-ignored-qualifiers")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS} -O0 -g")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS} -O3")
# clang produces a lot of unecessary warnings without this:
add_compile_options("$<$<CXX_COMPILER_ID:Clang>:-Wno-nonportable-include-path>")
# unit testing coverage, does not work yet
#include (CodeCoverage)
##set(COVERAGE_LCOV_EXCLUDES 'Documentation/*')
......
......@@ -238,7 +238,7 @@ int main() {
setup::Stack stack;
stack.Clear();
const hep::EnergyType E0 = 100_TeV;
double theta = 45.;
double theta = 0.;
double phi = 0.;
{
auto particle = stack.NewParticle();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment