IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 60883c20 authored by Ralf Ulrich's avatar Ralf Ulrich
Browse files

Ci again

parent 62a8de09
No related branches found
No related tags found
No related merge requests found
...@@ -64,8 +64,8 @@ check-clang-format: ...@@ -64,8 +64,8 @@ check-clang-format:
- corsika - corsika
variables: variables:
CORSIKA_DATA: "${CI_PROJECT_DIR}/corsika-data/" CORSIKA_DATA: "${CI_PROJECT_DIR}/corsika-data/"
script: script:
- mkdir build - mkdir -p build
- cd build - cd build
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_PYTHIA=ON - cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_PYTHIA=ON
rules: rules:
...@@ -203,13 +203,13 @@ test-clang-8: ...@@ -203,13 +203,13 @@ test-clang-8:
- git clone https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika-data.git - git clone https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika-data.git
- cd build - cd build
- set -o pipefail - set -o pipefail
- make run_examples | gzip -v -9 > examples.log.gz - make -j4 run_examples | gzip -v -9 > examples.log.gz
rules: rules:
- if: '$CI_MERGE_REQUEST_TITLE =~ /^WIP:/'
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_MERGE_REQUEST_ID - if: '$CI_MERGE_REQUEST_ID && $CI_MERGE_REQUEST_TITLE =~ /^WIP:/'
when: manual when: manual
allow_failure: true allow_failure: true
- if: $CI_MERGE_REQUEST_ID
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
when: manual when: manual
allow_failure: true allow_failure: true
...@@ -256,13 +256,13 @@ example-clang-8: ...@@ -256,13 +256,13 @@ example-clang-8:
script: script:
- cd build - cd build
- set -o pipefail - set -o pipefail
- make install - make -j2 install
rules: rules:
- if: '$CI_MERGE_REQUEST_TITLE =~ /^WIP:/'
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_MERGE_REQUEST_ID - if: '$CI_MERGE_REQUEST_ID && $CI_MERGE_REQUEST_TITLE =~ /^WIP:/'
when: manual when: manual
allow_failure: true allow_failure: true
- if: $CI_MERGE_REQUEST_ID
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
when: manual when: manual
allow_failure: true allow_failure: true
...@@ -309,7 +309,7 @@ install-clang-8: ...@@ -309,7 +309,7 @@ install-clang-8:
- cmake --build . -- -j4 - cmake --build . -- -j4
- set -o pipefail - set -o pipefail
- ctest -VV | gzip -v -9 > test.log.gz - ctest -VV | gzip -v -9 > test.log.gz
- make run_examples - make -j4 run_examples
rules: rules:
- if: '$CI_MERGE_REQUEST_LABELS =~ /Ready for code review/' # run on merge requests, if label 'Ready for code review' is set - if: '$CI_MERGE_REQUEST_LABELS =~ /Ready for code review/' # run on merge requests, if label 'Ready for code review' is set
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
...@@ -405,7 +405,7 @@ documentation: ...@@ -405,7 +405,7 @@ documentation:
script: script:
- cd build - cd build
- cmake --build . --target doxygen -- -j4 - cmake --build . --target doxygen -- -j4
- mkdir .public - mkdir -p .public
- cp -r Documentation/Doxygen/html .public/ - cp -r Documentation/Doxygen/html .public/
- mv .public ../public - mv .public ../public
rules: rules:
......
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