.gitlab-ci.yml 9.26 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
#############################################################
#                                                           #
# This is an auto generated file. Do not make               #
# changes to this file. They possible will be overriden.    #
#                                                           #
# To make persistent changes changes files in               #
# ./CI/gitlab-ci/ ...                                       #
# and regenerate this file with the configuration tool      #
#                                                           #
#############################################################

Jan Möbius's avatar
Jan Möbius committed
12
13
stages:
  - build
14
  - test
Jan Möbius's avatar
Jan Möbius committed
15
16
  - deploy

17
18
19
20
21
22
23
24
variables:
  GIT_SUBMODULE_STRATEGY: recursive

# -----------------
# Linux tasks
# -----------------

cppcheck:
Jan Möbius's avatar
Jan Möbius committed
25
  stage: build
26
27
28
29
30
31
  script: "CI/ci-cppcheck.sh"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker] 
  artifacts:
    paths:
      - cppcheck.log
32

33
34
35
36
37
38
39
40
41
42
43
44
45
46
gcc-c++11-test-debug:
  stage: test
  script: "CI/ci-linux-test.sh gcc C++11 debug"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]


gcc-c++11-test-release:
  stage: test
  script: "CI/ci-linux-test.sh gcc C++11 release"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]

gcc-c++11-build-debug:
Jan Möbius's avatar
Jan Möbius committed
47
  stage: build
48
49
50
51
52
53
  script: "CI/ci-linux-build.sh gcc C++11 debug"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]
  artifacts:
    paths:
    - build-debug-gcc-cpp11-Vector-Checks/
54

55
gcc-c++11-build-release:
Jan Möbius's avatar
Jan Möbius committed
56
  stage: build
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
  script: "CI/ci-linux-build.sh gcc C++11 release"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]
  artifacts:
    paths:
    - build-release-gcc-cpp11-Vector-Checks/

clang-c++11-test-debug:
  stage: test
  script: "CI/ci-linux-test.sh clang C++11 debug"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]

clang-c++11-test-release:
  stage: test
  script: "CI/ci-linux-test.sh clang C++11 release"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]

clang-c++11-build-debug:
  stage: build
  script: "CI/ci-linux-build.sh clang C++11 debug"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]
  artifacts:
    paths:
    - build-debug-clang-cpp11-Vector-Checks/

clang-c++11-build-release:
  stage: build
  script: "CI/ci-linux-build.sh clang C++11 release"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker] 
  artifacts:
    paths:
    - build-release-clang-cpp11-Vector-Checks/

gcc-c++14-test-debug:
  stage: test
  script: "CI/ci-linux-test.sh gcc C++14 debug"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]

gcc-c++14-test-release:
  stage: test
  script: "CI/ci-linux-test.sh gcc C++14 release"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]

gcc-c++14-build-debug:
  stage: build
  script: "CI/ci-linux-build.sh gcc C++14 debug"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]
  artifacts:
    paths:
    - build-debug-gcc-cpp14-Vector-Checks/

gcc-c++14-build-release:
  stage: build
  script: "CI/ci-linux-build.sh gcc C++14 release"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]
  artifacts:
    paths:
    - build-release-gcc-cpp14-Vector-Checks/

clang-c++14-test-debug:
  stage: test
  script: "CI/ci-linux-test.sh clang C++14 debug"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]

clang-c++14-test-release:
  stage: test
  script: "CI/ci-linux-test.sh clang C++14 release"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]

clang-c++14-build-debug:
  stage: build
  script: "CI/ci-linux-build.sh clang C++14 debug"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]
  artifacts:
    paths:
    - build-debug-clang-cpp14-Vector-Checks/

clang-c++14-build-release:
  stage: build
  script: "CI/ci-linux-build.sh clang C++14 release"
  image: graphics.rwth-aachen.de:4567/moebius/docker/docker-openmesh-container
  tags: [Docker]
  artifacts:
    paths:
    - build-release-clang-cpp14-Vector-Checks/

# -----------------
# Apple tasks
# -----------------

macos-cpp11-debug:
  stage: build
  script: "CI/ci-mac-build.sh C++11 debug ; CI/ci-mac-test.sh C++11 debug"
Jan Möbius's avatar
Jan Möbius committed
161
  tags:
162
    - Apple
Jan Möbius's avatar
Jan Möbius committed
163

164
macos-cpp14-debug:
Jan Möbius's avatar
Jan Möbius committed
165
  stage: build
166
167
168
  script: "CI/ci-mac-build.sh C++14 debug ; CI/ci-mac-test.sh C++14 debug"
  tags:
    - Apple
169

170
macos-cpp11-release:
Jan Möbius's avatar
Jan Möbius committed
171
  stage: build
172
  script: "CI/ci-mac-build.sh C++11 release ; CI/ci-mac-test.sh C++11 release"
173
174
175
176
177
178
179
  tags:
    - Apple
  artifacts:
    paths:
      - build-release-cpp11/*.dmg
      - build-release-cpp11/*.tar.gz

180
macos-cpp14-release:
Jan Möbius's avatar
Jan Möbius committed
181
  stage: build
182
  script: "CI/ci-mac-build.sh C++14 release ; CI/ci-mac-test.sh C++14 release"
183
184
185
186
187
188
  tags:
    - Apple
  artifacts:
    paths:
      - build-release-cpp14/*.dmg
      - build-release-cpp14/*.tar.gz
189

190
191
192
193
# -----------------
# Windows tasks
# -----------------

194
VS2017-64-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
195
  stage: build
196
197
198
199
200
201
202
203
204
205
206
207
208
209
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x64"
    SHARED:         "TRUE"
    APPS:           "ON"
  script: "CI\\Windows.bat"
  tags:
    - VS2017
    - Qt5101
  artifacts:
    paths:
      - build-release/*.exe      
      
VS2017-64-bit-static-apps:
Jan Möbius's avatar
Jan Möbius committed
210
  stage: build
Jan Möbius's avatar
Jan Möbius committed
211
  variables:
Jan Möbius's avatar
Jan Möbius committed
212
    BUILD_PLATFORM: "VS2017"
Jan Möbius's avatar
Jan Möbius committed
213
    ARCHITECTURE:   "x64"
214
215
    SHARED:         "FALSE"
    APPS:           "ON"
Martin Schultz's avatar
Martin Schultz committed
216
  script: "CI\\Windows.bat"
217
218
219
  tags:
    - VS2017
    - Qt5101    
220
221
222
  artifacts:
    paths:
      - build-release/*.exe
223
224
225

      
VS2017-64-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
226
  stage: build
227
228
229
230
231
232
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x64"
    SHARED:         "TRUE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
Jan Möbius's avatar
Jan Möbius committed
233
  tags:
Jan Möbius's avatar
Jan Möbius committed
234
    - VS2017
235
236
237
238
  artifacts:
    paths:
      - build-release/*.exe

Jan Möbius's avatar
Jan Möbius committed
239

240
VS2017-32-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
241
  stage: build
Jan Möbius's avatar
Jan Möbius committed
242
243
  variables:
    BUILD_PLATFORM: "VS2017"
244
    ARCHITECTURE:   "x32"
245
246
    SHARED:         "TRUE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
247
248
249
250
251
252
  script: "CI\\Windows.bat"
  tags:
    - VS2017
  artifacts:
    paths:
      - build-release/*.exe
253
      
Jan Möbius's avatar
Jan Möbius committed
254

255
VS2017-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
256
  stage: build
257
258
259
260
261
262
263
264
265
266
267
268
269
270
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x64"
    SHARED:         "FALSE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
  tags:
    - VS2017
  artifacts:
    paths:
      - build-release/*.exe


VS2017-32-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
271
  stage: build
272
273
274
275
276
277
278
279
280
281
282
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x32"
    SHARED:         "FALSE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
  tags:
    - VS2017
  artifacts:
    paths:
      - build-release/*.exe
Jan Möbius's avatar
Jan Möbius committed
283

284
VS2015-64-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
285
  stage: build
286
287
288
289
290
291
292
293
294
295
296
297
298
299
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x64"
    SHARED:         "TRUE"
    APPS:           "ON"
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe
      
      
VS2015-64-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
300
  stage: build
Jan Möbius's avatar
Jan Möbius committed
301
302
303
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x64"
304
305
    SHARED:         "TRUE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
306
307
308
309
310
311
312
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe

313
VS2015-32-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
314
  stage: build
Jan Möbius's avatar
Jan Möbius committed
315
316
317
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x32"
318
319
    SHARED:         "TRUE"
    APPS:           "ON"
Jan Möbius's avatar
Jan Möbius committed
320
321
322
323
324
325
326
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe

327
VS2015-32-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
328
  stage: build
329
330
331
332
333
334
335
336
337
338
339
340
341
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x32"
    SHARED:         "TRUE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe
      
VS2015-64-bit-static-apps:
Jan Möbius's avatar
Jan Möbius committed
342
  stage: build
343
344
345
346
347
348
349
350
351
352
353
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x64"
    SHARED:         "FALSE"
    APPS:           "ON"
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe
Jan Möbius's avatar
Jan Möbius committed
354

355
VS2015-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
356
  stage: build
Jan Möbius's avatar
Jan Möbius committed
357
  variables:
358
    BUILD_PLATFORM: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
359
    ARCHITECTURE:   "x64"
360
361
    SHARED:         "FALSE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
362
363
  script: "CI\\Windows.bat"
  tags:
364
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
365
366
367
368
  artifacts:
    paths:
      - build-release/*.exe

369
VS2015-32-bit-static-apps:
Jan Möbius's avatar
Jan Möbius committed
370
  stage: build
Jan Möbius's avatar
Jan Möbius committed
371
  variables:
372
    BUILD_PLATFORM: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
373
    ARCHITECTURE:   "x32"
374
375
    SHARED:         "FALSE"
    APPS:           "ON"
Jan Möbius's avatar
Jan Möbius committed
376
377
  script: "CI\\Windows.bat"
  tags:
378
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
379
380
381
382
  artifacts:
    paths:
      - build-release/*.exe

383
VS2015-32-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
384
  stage: build
Jan Möbius's avatar
Jan Möbius committed
385
  variables:
386
387
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x32"
Jan Möbius's avatar
Jan Möbius committed
388
389
    SHARED:         "FALSE"
    APPS:           "OFF"
390
391
392
393
394
395
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe
396

Jan Möbius's avatar
Jan Möbius committed
397
Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
398
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
399
400
401
402
403
  only:
     - master
  script: "CI/ci-doc.sh"
  tags:
     - Linux
404
     - stretch     
Jan Möbius's avatar
Jan Möbius committed
405
406

Sources:
Jan Möbius's avatar
Jan Möbius committed
407
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
408
409
  only:
     - master
Jan Möbius's avatar
Jan Möbius committed
410
  script: "CI/ci-source.sh"
411
412
  tags:
     - Linux
413
     - stretch     
Jan Möbius's avatar
Jan Möbius committed
414
415
  artifacts:
    paths:
Jan Möbius's avatar
Jan Möbius committed
416
417
418
      - OpenMesh*.zip
      - OpenMesh*.tar.bz2
      - OpenMesh*.tar.gz
Jan Möbius's avatar
Jan Möbius committed
419

420