-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
269 lines (242 loc) · 5.82 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
# -------------------------------------------------------------------------------
# nesci -- neuronal simulator conan interface
#
# Copyright (c) 2018 RWTH Aachen University, Germany,
# Virtual Reality & Immersive Visualization Group.
# -------------------------------------------------------------------------------
# License
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# -------------------------------------------------------------------------------
variables:
version: "18.07"
channel: "develop"
stages:
- conan
- cmake
- build
- test
- deliver
.artifacts_template: &artifacts_definition
artifacts:
paths:
- build
expire_in: 1 week
.delivery_branches_template:
only: &delivery_branches
- master
- stable
#-------------------------------------------------------------------------------
# Windows
#-------------------------------------------------------------------------------
conan:windows:msvc++14.1:
stage: conan
tags:
- msvc++14.1
- opengl
script:
- python .gitlab-ci.py conan Windows "Visual Studio" 15
<<: *artifacts_definition
cmake:windows:msvc++14.1:
stage: cmake
tags:
- msvc++14.1
- opengl
dependencies:
- conan:windows:msvc++14.1
script:
- python .gitlab-ci.py cmake Windows "Visual Studio" 15
<<: *artifacts_definition
build:windows:msvc++14.1:
stage: build
tags:
- msvc++14.1
- opengl
dependencies:
- cmake:windows:msvc++14.1
script:
- python .gitlab-ci.py build Windows "Visual Studio" 15
<<: *artifacts_definition
test:windows:msvc++14.1:
stage: test
tags:
- msvc++14.1
- opengl
dependencies:
- build:windows:msvc++14.1
script:
- python .gitlab-ci.py test Windows "Visual Studio" 15
<<: *artifacts_definition
deliver:windows:msvc++14.1:
stage: deliver
tags:
- msvc++14.1
- opengl
dependencies:
- test:windows:msvc++14.1
script:
- python .gitlab-ci.py deliver Windows "Visual Studio" 15
<<: *artifacts_definition
only:
*delivery_branches
#-------------------------------------------------------------------------------
# Linux
#-------------------------------------------------------------------------------
# conan:linux:gcc5.3.1:
# stage: conan
# tags:
# - gcc5.3.1
# - opengl
# script:
# - python .gitlab-ci.py conan Linux gcc 5.3
# <<: *artifacts_definition
conan:linux:gcc6.3.1:
stage: conan
tags:
- gcc6.3.1
- opengl
script:
- python .gitlab-ci.py conan Linux gcc 6.3
<<: *artifacts_definition
# cmake:linux:gcc5.3.1:
# stage: cmake
# tags:
# - gcc5.3.1
# - opengl
# dependencies:
# - conan:linux:gcc5.3.1
# script:
# - python .gitlab-ci.py cmake Linux gcc 5.3
# <<: *artifacts_definition
cmake:linux:gcc6.3.1:
stage: cmake
tags:
- gcc6.3.1
- opengl
dependencies:
- conan:linux:gcc6.3.1
script:
- python .gitlab-ci.py cmake Linux gcc 6.3
<<: *artifacts_definition
# build:linux:gcc5.3.1:
# stage: build
# tags:
# - gcc5.3.1
# - opengl
# dependencies:
# - cmake:linux:gcc5.3.1
# script:
# - python .gitlab-ci.py build Linux gcc 5.3
# <<: *artifacts_definition
build:linux:gcc6.3.1:
stage: build
tags:
- gcc6.3.1
- opengl
dependencies:
- cmake:linux:gcc6.3.1
script:
- python .gitlab-ci.py build Linux gcc 6.3
<<: *artifacts_definition
# test:linux:gcc5.3.1:
# stage: test
# tags:
# - gcc5.3.1
# - opengl
# dependencies:
# - build:linux:gcc5.3.1
# script:
# - python .gitlab-ci.py test Linux gcc 5.3
# <<: *artifacts_definition
test:linux:gcc6.3.1:
stage: test
tags:
- gcc6.3.1
- opengl
dependencies:
- build:linux:gcc6.3.1
script:
- python .gitlab-ci.py test Linux gcc 6.3
<<: *artifacts_definition
# deliver:linux:gcc5.3.1:
# stage: deliver
# tags:
# - gcc5.3.1
# - opengl
# dependencies:
# - test:linux:gcc5.3.1
# script:
# - python .gitlab-ci.py deliver Linux gcc 5.3
# <<: *artifacts_definition
# only:
# *delivery_branches
deliver:linux:gcc6.3.1:
stage: deliver
tags:
- gcc6.3.1
- opengl
dependencies:
- test:linux:gcc6.3.1
script:
- python .gitlab-ci.py deliver Linux gcc 6.3
<<: *artifacts_definition
only:
*delivery_branches
#-------------------------------------------------------------------------------
# MacOS
#-------------------------------------------------------------------------------
conan:mac:clang9.1:
stage: conan
tags:
- osx
script:
- python .gitlab-ci.py conan macOS apple-clang 9.1
<<: *artifacts_definition
cmake:mac:clang9.1:
stage: cmake
tags:
- osx
dependencies:
- conan:mac:clang9.1
script:
- python .gitlab-ci.py cmake macOS apple-clang 9.1
<<: *artifacts_definition
build:mac:clang9.1:
stage: build
tags:
- osx
dependencies:
- cmake:mac:clang9.1
script:
- python .gitlab-ci.py build macOS apple-clang 9.1
<<: *artifacts_definition
test:mac:clang9.1:
stage: test
tags:
- osx
dependencies:
- build:mac:clang9.1
script:
- python .gitlab-ci.py test macOS apple-clang 9.1
<<: *artifacts_definition
deliver:mac:clang9.1:
stage: deliver
tags:
- osx
dependencies:
- test:mac:clang9.1
script:
- python .gitlab-ci.py deliver macOS apple-clang 9.1
<<: *artifacts_definition
only:
*delivery_branches