IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 2323a0fb authored by ralfulrich's avatar ralfulrich Committed by Lukas Nellen
Browse files

also keep test output for release builds

parent 98f16ee3
No related branches found
No related tags found
No related merge requests found
...@@ -57,9 +57,6 @@ build-test-u-18_04: ...@@ -57,9 +57,6 @@ build-test-u-18_04:
- set -o pipefail - set -o pipefail
- ctest -VV | gzip -v -9 > test.log.gz - ctest -VV | gzip -v -9 > test.log.gz
artifacts: artifacts:
# expire_in: 1 day
# paths:
# - build
expire_in: 1 week expire_in: 1 week
reports: reports:
junit: junit:
...@@ -81,55 +78,14 @@ build-test-clang-8: ...@@ -81,55 +78,14 @@ build-test-clang-8:
- set -o pipefail - set -o pipefail
- ctest -VV | gzip -v -9 > test.log.gz - ctest -VV | gzip -v -9 > test.log.gz
artifacts: artifacts:
# expire_in: 1 day
# paths:
# - build
expire_in: 1 week expire_in: 1 week
reports: reports:
junit: junit:
- build/test_outputs/junit*.xml - build/test_outputs/junit*.xml
paths: paths:
- build/test.log.gz - build/test.log.gz
# test-u-18_04: # optional release pipeline for each commit
# image: corsika/devel:u-18.04
# dependencies:
# - build-u-18_04
# stage: test
# tags:
# - corsika
# script:
# - cd build
# - set -o pipefail
# - ctest -VV | gzip -v -9 > test.log.gz
# artifacts:
# expire_in: 1 week
# reports:
# junit:
# - build/test_outputs/junit*.xml
# paths:
# - build/test.log.gz
# test-clang-8:
# image: corsika/devel:clang-8
# dependencies:
# - build-clang-8
# stage: test
# tags:
# - corsika
# script:
# - cd build
# - set -o pipefail
# - ctest -VV | gzip -v -9 > test.log.gz
# artifacts:
# expire_in: 1 week
# reports:
# junit:
# - build/test_outputs/junit*.xml
# paths:
# - build/test.log.gz
# normal pipeline for each commit
release-u-18_04: release-u-18_04:
image: corsika/devel:u-18.04 image: corsika/devel:u-18.04
dependencies: dependencies:
...@@ -141,10 +97,18 @@ release-u-18_04: ...@@ -141,10 +97,18 @@ release-u-18_04:
- cd build - cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release - cmake .. -DCMAKE_BUILD_TYPE=Release
- cmake --build . -- -j4 - cmake --build . -- -j4
- ctest -j4 - set -o pipefail
- ctest -VV | gzip -v -9 > test.log.gz
artifacts:
expire_in: 1 week
reports:
junit:
- build/test_outputs/junit*.xml
paths:
- build/test.log.gz
when: manual when: manual
# normal pipeline for each commit # optional release pipeline for each commit
release-clang-8: release-clang-8:
image: corsika/devel:clang-8 image: corsika/devel:clang-8
dependencies: dependencies:
...@@ -156,7 +120,15 @@ release-clang-8: ...@@ -156,7 +120,15 @@ release-clang-8:
- cd build - cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release - cmake .. -DCMAKE_BUILD_TYPE=Release
- cmake --build . -- -j4 - cmake --build . -- -j4
- ctest -j4 - set -o pipefail
- ctest -VV | gzip -v -9 > test.log.gz
artifacts:
expire_in: 1 week
reports:
junit:
- build/test_outputs/junit*.xml
paths:
- build/test.log.gz
when: manual when: manual
# the coverage generation should either run when manually requested, OR for all changes on the master # the coverage generation should either run when manually requested, OR for all changes on the master
......
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