eReactingFoam-4.x/.gitlab-ci.yml
Yeongdo Park 1ad29d8dee Add CI
2018-11-01 08:52:46 +00:00

34 lines
741 B
YAML

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