34 lines
741 B
YAML
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
|
|
|
|
|