-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
44 lines (40 loc) · 921 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
default:
image: $CI_REGISTRY/$CI_PROJECT_NAMESPACE/estnet_docker/archlinux/opp-estnet-headless
stages:
- build
- test
build_release:
stage: build
cache:
policy: push
paths:
- src/Makefile
- src/libESTNeT.so
- src/libESTNeT_dbg.so
- out
script:
- cd src && INET4_PROJ=/workspace/inet4 ./makemake
- make MODE=release
test_examples:
stage: test
cache:
policy: pull
paths:
- src/Makefile
- src/libESTNeT.so
- src/libESTNeT_dbg.so
- out
script:
- env -C tests/examples ./runtests.sh
- env -C examples/orbitpropagation opp_run -u Cmdenv -c Kepler -n '../../src/estnet;/workspace/inet4/src' -l ../../out/gcc-release/src/ESTNeT
test_non_opp:
stage: test
cache:
policy: pull
paths:
- src/Makefile
- src/libESTNeT.so
- src/libESTNeT_dbg.so
- out
script:
- env -C tests/unit ./runtests.sh