From d6306617852f13a4241dd25abfdc6a1482fef1c8 Mon Sep 17 00:00:00 2001 From: Michael Blaschek <michael.blaschek@univie.ac.at> Date: Tue, 18 Jun 2024 10:10:49 +0000 Subject: [PATCH] another cache version Former-commit-id: 90fa234e0c6581246a09ce45b72ec9143fa9f3f6 --- .gitlab-ci.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3163c7b5..26e5c266 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,16 +11,21 @@ default: tags: - podman + +setup: + stage: build cache: paths: - - testdata/ - before_script: - - mkdir testdata/ - - wget -r -nH --cut-dirs=2 --no-parent --reject="index.html*" -P testdata/ "https://webdata.wolke.img.univie.ac.at/flexpart/" + - tests/testdata/ + untracked: true + script: + - mkdir tests/testdata/ + - wget -r -nH --cut-dirs=2 --no-parent --reject="index.html*" -P tests/testdata/ "https://webdata.wolke.img.univie.ac.at/flexpart/" alma8-build: image: harbor.wolke.img.univie.ac.at/flexpart/almalinux8:latest stage: build + when: manual script: - export FC=gfortran @@ -51,16 +56,14 @@ rocky9-build: - ./src/FLEXPART_ETA expire_in: 1d - - options-test: stage: test needs: - - alma8-build - - rocky9-build + - build + script: - ulimit -s unlimited - - cd tests && ln -s ../testdata/ testdata && cd .. + - ls /tests/testdata - bash ./tests/run_default_options_test.sh artifacts: when: on_success @@ -75,8 +78,7 @@ nests-test: stage: test when: manual needs: - - alma8-build - - rocky9-build + - build script: - ulimit -s unlimited @@ -90,8 +92,7 @@ nests-test: openmp-simulation: stage: test needs: - - alma8-build - - rocky9-build + - build script: - ulimit -s unlimited @@ -110,8 +111,7 @@ etex-simulation: stage: test when: manual needs: - - alma8-build - - rocky9-build + - build script: - ulimit -s unlimited -- GitLab