IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 5057e0ef authored by ralfulrich's avatar ralfulrich
Browse files

cmake install

parent 10413d2f
No related branches found
No related tags found
No related merge requests found
...@@ -264,12 +264,12 @@ build_test-clang-8: ...@@ -264,12 +264,12 @@ build_test-clang-8:
- cmake --build . -- -j4 - cmake --build . -- -j4
- set -o pipefail - set -o pipefail
- ctest -j4 - ctest -j4
- make -j4 install - cmake --build . -- -j4
- mkdir -p build_examples - mkdir -p build_examples
- cd build_examples - cd build_examples
- cmake -DCMAKE_BUILT_TYPE=Debug ../install/share/corsika/examples - cmake -DCMAKE_BUILT_TYPE=Debug ../install/share/corsika/examples
- make -j4 - cmake --build . -- -j4
- make -j4 run_examples | gzip -v -9 > examples.log.gz - cmake --build --target run_examples . -- -j4 | gzip -v -9 > examples.log.gz
rules: rules:
- if: '$CI_MERGE_REQUEST_ID && ($CI_MERGE_REQUEST_TITLE =~ /^Draft:/ || $CI_MERGE_REQUEST_TITLE =~ /^WIP:/)' - if: '$CI_MERGE_REQUEST_ID && ($CI_MERGE_REQUEST_TITLE =~ /^Draft:/ || $CI_MERGE_REQUEST_TITLE =~ /^WIP:/)'
when: manual when: manual
...@@ -323,7 +323,7 @@ build_test_example-clang-8: ...@@ -323,7 +323,7 @@ build_test_example-clang-8:
- cd build - cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install -DCMAKE_BUILD_TYPE=Debug -DUSE_Pythia8_C8=C8 - cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install -DCMAKE_BUILD_TYPE=Debug -DUSE_Pythia8_C8=C8
- set -o pipefail - set -o pipefail
- make -j2 install - cmake --install . -- -j4
rules: rules:
- if: $CI_MERGE_REQUEST_ID - if: $CI_MERGE_REQUEST_ID
when: manual when: manual
...@@ -362,12 +362,12 @@ install-clang-8: ...@@ -362,12 +362,12 @@ install-clang-8:
- cmake --build . -- -j4 - cmake --build . -- -j4
- set -o pipefail - set -o pipefail
- ctest -j4 - ctest -j4
- make -j4 install - cmake --install . -- -j4
- mkdir -p build_examples - mkdir -p build_examples
- cd build_examples - cd build_examples
- cmake -DCMAKE_BUILT_TYPE=Release ../install/share/corsika/examples - cmake -DCMAKE_BUILT_TYPE=Release ../install/share/corsika/examples
- make -j4 - cmake --build . -- -j4
- make -j4 run_examples | gzip -v -9 > examples.log.gz - cmake --build --target run_examples . -- -j4 | gzip -v -9 > examples.log.gz
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
......
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