diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 28d855ea04aa90ce0f4f0e2952af3f6f6975bf55..f28d4e905b1252839a37262d662e538ca66deb8f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,24 @@ variables: GIT_SSL_NO_VERIFY: "1" build: + stage: build + tags: + - corsika + script: + - mkdir build + - cd build + - cmake .. -DCMAKE_BUILD_TYPE=Debug + - cmake --build . -- -j4 + - ctest -j4 -V >& test.log || gzip -v -9 -S .gz test.log + artifacts: + expire_in: 1 year + paths: + - build/test.log.gz + reports: + junit: + - build/test_outputs/junit*.xml + +coverage: stage: build tags: - corsika