.gitlab-ci.yml 2.13 KB
Newer Older
1
---
2
image: mathiwr/amdis-base:debian9
3

Praetorius, Simon's avatar
Praetorius, Simon committed
4
5
6
7
8
9
10
stages:
  - build
  - demo
  - test


# compile amdis
11
12
13
build:9-debug-gcc:
  stage: build
  script:
Praetorius, Simon's avatar
Praetorius, Simon committed
14
  - tools/build_amdis.sh --stage build --config Debug
15
16
17
  artifacts:
    paths:
    - install/
18
19
20
21
22
23
  only:
  - master

build:9-release-gcc:
  stage: build
  script:
Praetorius, Simon's avatar
Praetorius, Simon committed
24
  - tools/build_amdis.sh --stage build --config Release
25
26
27
  artifacts:
    paths:
    - install/
28
29
30
31
32
33
  only:
  - master

build:9-parallel-debug-gcc:
  stage: build
  script:
Praetorius, Simon's avatar
Praetorius, Simon committed
34
  - tools/build_amdis.sh --stage build --config Debug --parallel
35
36
37
  artifacts:
    paths:
    - install/
38
39
40
41
42
43
  only:
  - master

build:9-parallel-release-gcc:
  stage: build
  script:
Praetorius, Simon's avatar
Praetorius, Simon committed
44
  - tools/build_amdis.sh --stage build --config Release --parallel
45
46
47
  artifacts:
    paths:
    - install/
Praetorius, Simon's avatar
Praetorius, Simon committed
48
49
50
51
52
53
54
55
56
  only:
  - master


# compile the demos
demo:9-debug-gcc:
  stage: demo
  script:
  - tools/build_amdis.sh --stage demo --config Debug
57
58
  dependencies:
  - build:9-debug-gcc
Praetorius, Simon's avatar
Praetorius, Simon committed
59
60
61
62
63
64
65
  only:
  - master

demo:9-release-gcc:
  stage: demo
  script:
  - tools/build_amdis.sh --stage demo --config Release
66
67
  dependencies:
  - build:9-release-gcc
Praetorius, Simon's avatar
Praetorius, Simon committed
68
69
70
71
72
73
74
  only:
  - master

demo:9-parallel-debug-gcc:
  stage: demo
  script:
  - tools/build_amdis.sh --stage demo --config Debug --parallel
75
76
  dependencies:
  - build:9-parallel-debug-gcc
Praetorius, Simon's avatar
Praetorius, Simon committed
77
78
79
80
81
82
83
  only:
  - master

demo:9-parallel-release-gcc:
  stage: demo
  script:
  - tools/build_amdis.sh --stage demo --config Release --parallel
84
85
  dependencies:
  - build:9-parallel-release-gcc
Praetorius, Simon's avatar
Praetorius, Simon committed
86
87
88
89
90
91
92
93
94
  only:
  - master


# compiel and run the tests
test:9-debug-gcc:
  stage: test
  script:
  - tools/build_amdis.sh --stage test --config Debug
95
96
  dependencies:
  - build:9-debug-gcc
Praetorius, Simon's avatar
Praetorius, Simon committed
97
98
99
100
101
102
103
  only:
  - master

test:9-release-gcc:
  stage: test
  script:
  - tools/build_amdis.sh --stage test --config Release
104
105
  dependencies:
  - build:9-release-gcc
106
107
  only:
  - master
Praetorius, Simon's avatar
Praetorius, Simon committed
108
109
110
111
112

test:9-parallel-debug-gcc:
  stage: test
  script:
  - tools/build_amdis.sh --stage test --config Debug --parallel
113
114
  dependencies:
  - build:9-parallel-debug-gcc
Praetorius, Simon's avatar
Praetorius, Simon committed
115
116
117
118
119
120
121
  only:
  - master

test:9-parallel-release-gcc:
  stage: test
  script:
  - tools/build_amdis.sh --stage test --config Release --parallel
122
123
  dependencies:
  - build:9-parallel-release-gcc
Praetorius, Simon's avatar
Praetorius, Simon committed
124
125
  only:
  - master