Skip to content

Commit

Permalink
ci (almost done)
Browse files Browse the repository at this point in the history
  • Loading branch information
carstenbauer committed May 23, 2022
1 parent b65de82 commit 85c9517
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
10 changes: 4 additions & 6 deletions .gitlab-ci-N2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,16 @@ julia/1.7-N2:
SCHEDULER_PARAMETERS: "-N 1 -n 1 -c 128 -t 00:15:00 -A pc2-mitarbeiter -p fpga --exclusive"
JULIA_NUM_THREADS: "12"
rules:
# - if: '$CI_PIPELINE_SOURCE == "external_pull_request_event"' # trigger on PRs (external?)
# when: manual
# allow_failure: true
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' # trigger on PRs (internal?)
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_PIPELINE_SOURCE == "external_pull_request_event"'
when: manual
- if: '$CI_COMMIT_BRANCH && $CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: '$CI_COMMIT_BRANCH' # trigger on commits
- when: never # don't run otherwise
# - if: '$CI_PIPELINE_SOURCE == "push"' # trigger on pushs
# - if: '$CI_COMMIT_TAG' # trigger on tags? (only needed for docs)
script:
- echo $CI_PIPELINE_SOURCE
- echo $CI_PIPELINE_SOURCE
- echo $CI_PIPELINE_SOURCE
- ml reset
- ml tools/likwid/5.2.1-GCC-11.2.0
Expand Down
9 changes: 5 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,20 @@ build-likwid:
tags:
- testcluster
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' # trigger on PRs (internal?)
- if: '$CI_COMMIT_TAG' # trigger on tags
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_PIPELINE_SOURCE == "external_pull_request_event"'
when: manual
- if: '$CI_COMMIT_BRANCH && $CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: '$CI_COMMIT_BRANCH' # trigger on commits
- if: '$CI_COMMIT_TAG' # trigger on tags?
- when: never # don't run otherwise
variables:
SLURM_NODELIST: medusa
LIKWID_MODULE: likwid/5.2-dev
LIKWID_VERSION: 5.2.0
CUDA_MODULE: cuda/11.0
script:
- echo $CI_PIPELINE_SOURCE
- echo $CI_PIPELINE_SOURCE
- echo $CI_PIPELINE_SOURCE
- module load "$LIKWID_MODULE" "$CUDA_MODULE"
- export LIKWID_PREFIX=$(realpath $(dirname $(which likwid-topology))/..)
Expand Down

0 comments on commit 85c9517

Please sign in to comment.