Skip to content
Snippets Groups Projects
Commit 65b732af authored by Michael Blaschek's avatar Michael Blaschek :bicyclist:
Browse files

Update .gitlab-ci.yml file

parent 14bbfc48
Branches
Tags
No related merge requests found
image: ubuntu:18.04
stages: stages:
- build - build
- test - test
ubuntu-build: ubuntu-build:
image: ubuntu:18.04
stage: build stage: build
before_script: before_script:
...@@ -15,13 +14,18 @@ ubuntu-build: ...@@ -15,13 +14,18 @@ ubuntu-build:
- export LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu - export LIBRARY_PATH=/usr/local/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu
- export INCLUDE=/usr/include - export INCLUDE=/usr/include
- make -C src - make -C src
- ./src/main
- test -f pres_temp_4D.nc
- ncdump -h pres_temp_4D.nc
artifacts: artifacts:
paths: paths:
- ./src/main - ./src/main
ubuntu-test: ubuntu-test:
image: ubuntu:18.04
stage: test stage: test
when: manual
needs: needs:
- ubuntu-build - ubuntu-build
...@@ -46,4 +50,10 @@ jet-build: ...@@ -46,4 +50,10 @@ jet-build:
- export LIBRARY_PATH=/usr/lib64 - export LIBRARY_PATH=/usr/lib64
- export INCLUDE=/usr/include - export INCLUDE=/usr/include
- make -C src - make -C src
- ./src/main
- test -f pres_temp_4D.nc
- ncdump -h pres_temp_4D.nc
artifacts:
paths:
- ./src/main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment