IAP GITLAB

Skip to content
Snippets Groups Projects
Commit be364887 authored by ralfulrich's avatar ralfulrich Committed by Felix Riehn
Browse files

on CI, use C8-pythia for now...

parent 44c91cdc
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ check-clang-format: ...@@ -92,7 +92,7 @@ check-clang-format:
script: script:
- mkdir -p build - mkdir -p build
- cd build - cd build
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DUSE_PYTHIA8_C8=SYSTEM - cmake .. -DCMAKE_BUILD_TYPE=Debug -DUSE_PYTHIA8_C8=C8
rules: rules:
- if: $CI_MERGE_REQUEST_ID - if: $CI_MERGE_REQUEST_ID
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
...@@ -450,7 +450,7 @@ install-clang-8: ...@@ -450,7 +450,7 @@ install-clang-8:
- corsika - corsika
script: script:
- cd build - cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_PYTHIA8_C8=SYSTEM - cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_PYTHIA8_C8=C8
- cmake --build . -- -j4 - cmake --build . -- -j4
- set -o pipefail - set -o pipefail
- ctest -j4 - ctest -j4
...@@ -513,7 +513,7 @@ coverage: ...@@ -513,7 +513,7 @@ coverage:
- corsika - corsika
script: script:
- cd build - cd build
- cmake .. -DCMAKE_BUILD_TYPE=Coverage -DUSE_PYTHIA8_C8=SYSTEM - cmake .. -DCMAKE_BUILD_TYPE=Coverage -DUSE_PYTHIA8_C8=C8
- cmake --build . -- -j4 - cmake --build . -- -j4
- ctest -j4 - ctest -j4
- cmake --build . --target coverage - cmake --build . --target coverage
......
...@@ -170,6 +170,6 @@ TEST_CASE("pythia process") { ...@@ -170,6 +170,6 @@ TEST_CASE("pythia process") {
model.doInteraction(view); model.doInteraction(view);
[[maybe_unused]] const GrammageType length = model.getInteractionLength(particle); [[maybe_unused]] const GrammageType length = model.getInteractionLength(particle);
CHECK(length / 1_kg * square(1_m) == Approx(43.04).margin(5e-1)); CHECK(length / 1_kg * square(1_m) == Approx(43.04).margin(5e-1));
CHECK(view.getSize() == 40); CHECK(view.getSize() == 38);
} }
} }
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