Merge branch 'ci-cache-policy-test' into 'master'
remove openfoam build command in test job See merge request park0d/eReactingFoam-4.x!2
This commit is contained in:
commit
0f589b50ec
1 changed files with 18 additions and 16 deletions
|
|
@ -1,24 +1,21 @@
|
|||
image: park0d/of4builder:cantera
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- OF4IW
|
||||
|
||||
before_script:
|
||||
- "[[ -d OF4IW/OpenFOAM-4.x ]] || git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/park0d/OpenFOAM-4.x.git OF4IW/OpenFOAM-4.x"
|
||||
- "[[ -d OF4IW/ThirdParty-4.x ]] || git clone https://github.com/OpenFOAM/ThirdParty-4.x.git OF4IW/ThirdParty-4.x"
|
||||
- source OF4IW/OpenFOAM-4.x/etc/bashrc
|
||||
- cd OF4IW/OpenFOAM-4.x
|
||||
- git remote remove origin
|
||||
- git remote add origin https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/park0d/OpenFOAM-4.x.git
|
||||
- git pull origin ionicWind
|
||||
- ./Allwmake -j
|
||||
|
||||
|
||||
allwmake:
|
||||
stage: build
|
||||
tags:
|
||||
- openfoam4
|
||||
cache:
|
||||
paths:
|
||||
- OF4IW
|
||||
before_script:
|
||||
- "[[ -d OF4IW/OpenFOAM-4.x ]] || git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/park0d/OpenFOAM-4.x.git OF4IW/OpenFOAM-4.x"
|
||||
- "[[ -d OF4IW/ThirdParty-4.x ]] || git clone https://github.com/OpenFOAM/ThirdParty-4.x.git OF4IW/ThirdParty-4.x"
|
||||
- source OF4IW/OpenFOAM-4.x/etc/bashrc
|
||||
- cd OF4IW/OpenFOAM-4.x
|
||||
- git remote remove origin
|
||||
- git remote add origin https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/park0d/OpenFOAM-4.x.git
|
||||
- git pull origin ionicWind
|
||||
- ./Allwmake -j
|
||||
script:
|
||||
- cd ${CI_PROJECT_DIR}
|
||||
- wmake diffusivityModel
|
||||
|
|
@ -27,11 +24,16 @@ allwmake:
|
|||
- diffusivityModel/Make/*/*
|
||||
expire_in: 1 hour
|
||||
|
||||
|
||||
canteraTest:
|
||||
stage: test
|
||||
tags:
|
||||
- openfoam4
|
||||
cache:
|
||||
paths:
|
||||
- OF4IW
|
||||
policy: pull
|
||||
before_script:
|
||||
- source OF4IW/OpenFOAM-4.x/etc/bashrc
|
||||
script:
|
||||
- cd ${CI_PROJECT_DIR}
|
||||
- wmake diffusivityModel
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue