This commit is contained in:
Yeongdo Park 2018-11-01 08:52:46 +00:00
parent 061da17242
commit 1ad29d8dee

34
.gitlab-ci.yml Normal file
View 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