IAP GITLAB

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

ci update, conan

parent 14ef82a8
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,6 @@ variables: ...@@ -15,7 +15,6 @@ variables:
# _alternatively_ corsika-data can be downloaded as submodule: # _alternatively_ corsika-data can be downloaded as submodule:
GIT_SUBMODULE_STRATEGY: normal # none: we get the submodules in before_script, GIT_SUBMODULE_STRATEGY: normal # none: we get the submodules in before_script,
# normal: get submodules automatically # normal: get submodules automatically
CONAN_USER_HOME: "${CI_PROJECT_DIR}"
# #
...@@ -90,13 +89,10 @@ check-clang-format: ...@@ -90,13 +89,10 @@ check-clang-format:
stage: config stage: config
tags: tags:
- corsika - corsika
before_script:
- apt-get update && apt-get install -y -qq python3-pip
- pip3 install conan
script: script:
- mkdir -p build - mkdir -p build
- cd build - cd build
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_PYTHIA=ON - cmake .. -DCMAKE_BUILD_TYPE=Debug -DUSE_PYTHIA8_C8=SYSTEM
rules: rules:
- if: $CI_MERGE_REQUEST_ID - if: $CI_MERGE_REQUEST_ID
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
...@@ -109,7 +105,6 @@ check-clang-format: ...@@ -109,7 +105,6 @@ check-clang-format:
cache: cache:
paths: paths:
- ${CI_PROJECT_DIR}/build/ - ${CI_PROJECT_DIR}/build/
- ${CONAN_USER_HOME}/.conan/
untracked: true untracked: true
policy: pull-push policy: pull-push
...@@ -139,9 +134,6 @@ config-clang-8: ...@@ -139,9 +134,6 @@ config-clang-8:
stage: build stage: build
tags: tags:
- corsika - corsika
before_script:
- apt-get update && apt-get install -y -qq python3-pip
- pip3 install conan
script: script:
- cd build - cd build
- cmake --build . -- -j4 - cmake --build . -- -j4
...@@ -156,7 +148,6 @@ config-clang-8: ...@@ -156,7 +148,6 @@ config-clang-8:
cache: cache:
paths: paths:
- ${CI_PROJECT_DIR}/build/ - ${CI_PROJECT_DIR}/build/
- ${CONAN_USER_HOME}/.conan/
untracked: true untracked: true
policy: pull-push policy: pull-push
...@@ -190,9 +181,6 @@ build-clang-8: ...@@ -190,9 +181,6 @@ build-clang-8:
stage: test stage: test
tags: tags:
- corsika - corsika
before_script:
- apt-get update && apt-get install -y -qq python3-pip
- pip3 install conan
script: script:
- cd build - cd build
- set -o pipefail - set -o pipefail
...@@ -214,7 +202,6 @@ build-clang-8: ...@@ -214,7 +202,6 @@ build-clang-8:
cache: cache:
paths: paths:
- ${CI_PROJECT_DIR}/build/ - ${CI_PROJECT_DIR}/build/
- ${CONAN_USER_HOME}/.conan/
untracked: true untracked: true
policy: pull-push policy: pull-push
...@@ -248,9 +235,6 @@ test-clang-8: ...@@ -248,9 +235,6 @@ test-clang-8:
stage: build_test stage: build_test
tags: tags:
- corsika - corsika
before_script:
- apt-get update && apt-get install -y -qq python3-pip
- pip3 install conan
script: script:
- cd build - cd build
- cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON --build . -- -j4 - cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON --build . -- -j4
...@@ -272,7 +256,6 @@ test-clang-8: ...@@ -272,7 +256,6 @@ test-clang-8:
cache: cache:
paths: paths:
- ${CI_PROJECT_DIR}/build/ - ${CI_PROJECT_DIR}/build/
- ${CONAN_USER_HOME}/.conan/
untracked: true untracked: true
policy: pull-push policy: pull-push
...@@ -305,9 +288,6 @@ build_test-clang-8: ...@@ -305,9 +288,6 @@ build_test-clang-8:
stage: example stage: example
tags: tags:
- corsika - corsika
before_script:
- apt-get update && apt-get install -y -qq python3-pip
- pip3 install conan
script: script:
- cd build - cd build
- set -o pipefail - set -o pipefail
...@@ -328,7 +308,6 @@ build_test-clang-8: ...@@ -328,7 +308,6 @@ build_test-clang-8:
cache: cache:
paths: paths:
- ${CI_PROJECT_DIR}/build/ - ${CI_PROJECT_DIR}/build/
- ${CONAN_USER_HOME}/.conan/
untracked: true untracked: true
policy: pull policy: pull
...@@ -361,9 +340,6 @@ example-clang-8: ...@@ -361,9 +340,6 @@ example-clang-8:
stage: build_test_example stage: build_test_example
tags: tags:
- corsika - corsika
before_script:
- apt-get update && apt-get install -y -qq python3-pip
- pip3 install conan
script: script:
- cd build - cd build
- cmake --build . -- -j4 - cmake --build . -- -j4
...@@ -390,7 +366,6 @@ example-clang-8: ...@@ -390,7 +366,6 @@ example-clang-8:
cache: cache:
paths: paths:
- ${CI_PROJECT_DIR}/build/ - ${CI_PROJECT_DIR}/build/
- ${CONAN_USER_HOME}/.conan/
untracked: true untracked: true
policy: pull policy: pull
...@@ -424,9 +399,6 @@ build_test_example-clang-8: ...@@ -424,9 +399,6 @@ build_test_example-clang-8:
stage: install stage: install
tags: tags:
- corsika - corsika
before_script:
- apt-get update && apt-get install -y -qq python3-pip
- pip3 install conan
script: script:
- cd build - cd build
- set -o pipefail - set -o pipefail
...@@ -443,7 +415,6 @@ build_test_example-clang-8: ...@@ -443,7 +415,6 @@ build_test_example-clang-8:
cache: cache:
paths: paths:
- ${CI_PROJECT_DIR}/build/ - ${CI_PROJECT_DIR}/build/
- ${CONAN_USER_HOME}/.conan/
untracked: true untracked: true
policy: pull policy: pull
...@@ -477,12 +448,9 @@ install-clang-8: ...@@ -477,12 +448,9 @@ install-clang-8:
stage: optional stage: optional
tags: tags:
- corsika - corsika
before_script:
- apt-get update && apt-get install -y -qq python3-pip
- pip3 install conan
script: script:
- cd build - cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release - cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_PYTHIA8_C8=SYSTEM
- cmake --build . -- -j4 - cmake --build . -- -j4
- set -o pipefail - set -o pipefail
- ctest -j4 - ctest -j4
...@@ -501,7 +469,6 @@ install-clang-8: ...@@ -501,7 +469,6 @@ install-clang-8:
cache: cache:
paths: paths:
- ${CI_PROJECT_DIR}/build/ - ${CI_PROJECT_DIR}/build/
- ${CONAN_USER_HOME}/.conan/
untracked: true untracked: true
policy: pull policy: pull
artifacts: artifacts:
...@@ -544,12 +511,9 @@ coverage: ...@@ -544,12 +511,9 @@ coverage:
stage: optional stage: optional
tags: tags:
- corsika - corsika
before_script:
- apt-get update && apt-get install -y -qq python3-pip
- pip3 install conan
script: script:
- cd build - cd build
- cmake .. -DCMAKE_BUILD_TYPE=Coverage - cmake .. -DCMAKE_BUILD_TYPE=Coverage -DUSE_PYTHIA8_C8=SYSTEM
- cmake --build . -- -j4 - cmake --build . -- -j4
- ctest -j4 - ctest -j4
- cmake --build . --target coverage - cmake --build . --target coverage
...@@ -572,7 +536,6 @@ coverage: ...@@ -572,7 +536,6 @@ coverage:
cache: cache:
paths: paths:
- ${CI_PROJECT_DIR}/build/ - ${CI_PROJECT_DIR}/build/
- ${CONAN_USER_HOME}/.conan/
untracked: true untracked: true
policy: pull policy: pull
key: "${CI_COMMIT_REF_SLUG}-gcc" key: "${CI_COMMIT_REF_SLUG}-gcc"
...@@ -591,9 +554,6 @@ sanity: ...@@ -591,9 +554,6 @@ sanity:
stage: optional stage: optional
tags: tags:
- corsika - corsika
before_script:
- apt-get update && apt-get install -y -qq python3-pip
- pip3 install conan
script: script:
- cd build - cd build
- cmake .. -DWITH_CORSIKA_SANITIZERS_ENABLED=ON - cmake .. -DWITH_CORSIKA_SANITIZERS_ENABLED=ON
...@@ -612,7 +572,6 @@ sanity: ...@@ -612,7 +572,6 @@ sanity:
cache: cache:
paths: paths:
- ${CI_PROJECT_DIR}/build/ - ${CI_PROJECT_DIR}/build/
- ${CONAN_USER_HOME}/.conan/
untracked: true untracked: true
policy: pull policy: pull
key: "${CI_COMMIT_REF_SLUG}-gcc" key: "${CI_COMMIT_REF_SLUG}-gcc"
......
n# #
# (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu # (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
# #
# See file AUTHORS for a list of contributors. # See file AUTHORS for a list of contributors.
...@@ -47,6 +47,8 @@ set (_SEARCH_Pythia8_ ...@@ -47,6 +47,8 @@ set (_SEARCH_Pythia8_
$ENV{PYTHIA8DIR} $ENV{PYTHIA8DIR}
${PYTHIA8_ROOT} ${PYTHIA8_ROOT}
$ENV{PYTHIA8_ROOT} $ENV{PYTHIA8_ROOT}
${PYTHIA8_DIR}
$ENV{PYTHIA8_DIR}
/opt/pythia8 /opt/pythia8
) )
......
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