WSL/SLF GitLab Repository

Commit f236328c authored by Adrien Michel's avatar Adrien Michel
Browse files

Update .gitlab-ci.yml file

parent 994a8eb2
Pipeline #59 passed with stages
in 6 minutes and 37 seconds
......@@ -15,7 +15,6 @@
stages:
- build-metoio
- clean-build-metoio # Retry to build meteoio fecthing clean files if previous build had an error
- build-snowpack
- test
......@@ -38,21 +37,10 @@ build-job-mio:
- cmake . -DCMAKE_INSTALL_PREFIX=local -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON -DMETEOIO_TIMESERIES=OFF
- make meteoio -j4
- make install
clean-build-job-mio:
stage: clean-build-metoio
interruptible: true
script:
- REPOSRC=https://gitlabext.wsl.ch/snow-models/meteoio.git
- LOCALREPO=meteoio
- rm -rf $LOCALREPO
- git clone $REPOSRC $LOCALREPO
- cd meteoio
- cmake . -DCMAKE_INSTALL_PREFIX=local -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON -DMETEOIO_TIMESERIES=OFF
- make meteoio -j4
- make install
when: on_failure
after_script:
- if [ $CI_JOB_STATUS != 'success' ]; then rm -rf $LOCALREPO; git clone $REPOSRC $LOCALREPO; fi
retry:
max: 2
build-job-snp:
stage: build-snowpack
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment