Merge branch 'add-ci' into 'master'
Add CI See merge request park0d/eReactingFoam-4.x!1
This commit is contained in:
commit
e502e309d1
1 changed files with 34 additions and 0 deletions
34
.gitlab-ci.yml
Normal file
34
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
cache:
|
||||
paths:
|
||||
- OF4IW
|
||||
|
||||
before_script:
|
||||
- source /OpenFOAM/OpenFOAM-4.x/etc/bashrc
|
||||
- "[[ -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"
|
||||
|
||||
|
||||
allwmake:
|
||||
stage: build
|
||||
image: localhost:5000/of4iw
|
||||
tags:
|
||||
- openfoam4
|
||||
script:
|
||||
- wmake diffusivityModel
|
||||
artifacts:
|
||||
paths:
|
||||
- diffusivityModel/Make/*/*
|
||||
expire_in: 1 hour
|
||||
|
||||
|
||||
canteraTest:
|
||||
stage: test
|
||||
image: localhost:5000/of4iw
|
||||
tags:
|
||||
- openfoam4
|
||||
script:
|
||||
- wmake diffusivityModel
|
||||
- wmake testApp
|
||||
- ./testApp/canteraTest -case testApp/gri
|
||||
|
||||
|
||||
Loading…
Add table
Reference in a new issue