-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
79 lines (76 loc) · 1.87 KB
/
.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# use the official gcc image, based on debian
# can use versions as well, like gcc:5.2
# see https://hub.docker.com/_/gcc/
image: gcc:10.3
test:
script:
- apt-get -y update && apt-get -y install lsb-release
- lsb_release -irc
- echo "Installing vfgen"
- apt-get -y install cmake libmxml-dev libginac-dev
- cd cmake_build
- cmake ../src
- make
- make install
- cd ../tests
- echo "Testing help"
- vfgen help help
- echo "Testing octave"
- cd test_octave
- bash run_test.sh
- cd ..
- echo "Testing dde_solver"
- cd test_dde_solver
- bash run_test.sh
- cd ..
- echo "Testing lsoda"
- cd test_lsoda
- bash download_lsoda.sh
- bash run_test_linearosc.sh
- bash run_test_pidecay.sh
- cd ..
- echo "Testing gsl"
- cd test_gsl
- bash run_test.sh
- cd ..
- echo "Testing evf"
- cd test_evf
- bash run_test.sh
- cd ..
- echo "Testing boostodeint"
- cd test_boostodeint
- apt-get -y install libboost-math-dev
- bash run_test_boostodeint_default_noparams.sh
- bash run_test_boostodeint_default_params.sh
- bash run_test_boostodeint_implicit_noparams.sh
- bash run_test_boostodeint_implicit_params.sh
- cd ..
- echo "Testing scilab"
- cd test_scilab
- bash run_test.sh
- cd ..
- echo "Testing scipy"
- cd test_scipy
- bash run_test.sh
- cd ..
# - echo "Testing R"
# - cd test_r
# - bash run_test.sh
# - cd ..
#
#artifacts:
# paths:
# - cmake_build/vfgen
#
# depending on your build setup it's most likely a good idea to cache outputs
# to reduce the build time
# cache:
# paths:
# - "*.o"
# run tests using the binary built before
# (This doesn't work--the binary probably needs to be saved somewhere.)
#test:
# stage: test
# script:
# - cd cmake_build
# - ./vfgen help