-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
28 lines (26 loc) · 981 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
default:
image: shreyas911/sicopolis_ad_v2:v1.4
stages:
- test
tests:
stage: test
only:
- develop
before_script:
- export NETCDF_F90_FLAG=-I/usr/include
- export LISDIR=/lis-2.0.30/installation
- export LIB_NETCDF_F90_FLAG='-L/usr/lib/x86_64-linux-gnu -lnetcdff'
- export TAPENADE_HOME=/builds/sicopolis/sicopolis/test_ad/tapenade_supported
- export PATH=$PATH:$TAPENADE_HOME/bin
- pwd
- ls -a ./*
- echo $PATH
- echo $TAPENADE_HOME
- source $HOME/.bashrc
script:
- ./get_input_files.sh
- cd test_ad
- cp sico_specs_repo_ant40_b2_ss25ka.h ../headers
- cp sico_specs_repo_grl16_bm5_ss25ka.h ../headers
- cp sico_specs_repo_ant64_b2_future09_ctrl.h ../headers
- pytest tests.py