Loading .gitlab-ci.yml +8 −8 Original line number Diff line number Diff line .stage_artifacts: &stage_artifacts artifacts: paths: - build/ expire_in: 3 day .gcc_83_before: &gcc_83_before - if [[ -f "/data/test_gcc/gcc-8.3.0/load_dev_env.sh" ]]; then BASE_DIR="/data/gitlab-runner"; . /data/test_gcc/gcc-8.3.0/load_dev_env.sh; ENV_BASE=/data/test_gcc/gcc-8.3.0; else BASE_DIR="/localhome/gitlab-runner"; . /projects/vera/gcc-8.3.0/load_dev_env.sh; ENV_BASE=/projects/vera/gcc-8.3.0; fi - which gcc Loading @@ -26,8 +20,11 @@ stages: windows_configure: tags: - windows <<: *stage_artifacts stage: configure artifacts: paths: - $BLD_DIR expire_in: 3 day script: - *windows_before - cmake -S $SRC_DIR -B $BLD_DIR -Dsaline_ENABLE_Fortran=OFF -Dsaline_ENABLE_Python=ON -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE Loading Loading @@ -57,7 +54,10 @@ linux_gcc83_configure: tags: - linux - gcc <<: *stage_artifacts artifacts: paths: - $BLD_DIR expire_in: 3 day stage: configure script: - *gcc_83_before Loading Loading
.gitlab-ci.yml +8 −8 Original line number Diff line number Diff line .stage_artifacts: &stage_artifacts artifacts: paths: - build/ expire_in: 3 day .gcc_83_before: &gcc_83_before - if [[ -f "/data/test_gcc/gcc-8.3.0/load_dev_env.sh" ]]; then BASE_DIR="/data/gitlab-runner"; . /data/test_gcc/gcc-8.3.0/load_dev_env.sh; ENV_BASE=/data/test_gcc/gcc-8.3.0; else BASE_DIR="/localhome/gitlab-runner"; . /projects/vera/gcc-8.3.0/load_dev_env.sh; ENV_BASE=/projects/vera/gcc-8.3.0; fi - which gcc Loading @@ -26,8 +20,11 @@ stages: windows_configure: tags: - windows <<: *stage_artifacts stage: configure artifacts: paths: - $BLD_DIR expire_in: 3 day script: - *windows_before - cmake -S $SRC_DIR -B $BLD_DIR -Dsaline_ENABLE_Fortran=OFF -Dsaline_ENABLE_Python=ON -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE Loading Loading @@ -57,7 +54,10 @@ linux_gcc83_configure: tags: - linux - gcc <<: *stage_artifacts artifacts: paths: - $BLD_DIR expire_in: 3 day stage: configure script: - *gcc_83_before Loading