.gitlab-ci.yml 11.5 KB
Newer Older
1
2
3
4
5
6
7
8
#############################################################
#                                                           #
# 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      #
9
# python3 ./CI/gitlab-ci/assemble-gitlab-ci.py              #
10
11
12
#                                                           #
#############################################################

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

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

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

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

35
36
37
38
39
40
41
42
43
#-----------  Job Informations:
# Type:       Build: debug
# OS:         Linux
# Compiler:   gcc
# Language:   cpp11

build-debug-gcc-cpp11:
  stage: build
  script: "CI/ci-linux-build.sh gcc cpp11 debug"
44
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
45
  tags: [Docker]
46
47
48
  artifacts:
    paths:
    - build-gcc-cpp11-debug-Vector-Checks/
49

50
51
52
53
54
55
56
#-----------  Job Informations:
# Type:       Test: debug
# OS:         Linux
# Compiler:   gcc
# Language:   cpp11

test-debug-gcc-cpp11:
57
  stage: test
58
  script: "CI/ci-linux-test.sh gcc cpp11 debug"
59
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
60
  tags: [Docker]
61
62
63
64
65
66
67
  dependencies: [build-debug-gcc-cpp11]

#-----------  Job Informations:
# Type:       Build: release
# OS:         Linux
# Compiler:   gcc
# Language:   cpp11
68

69
build-release-gcc-cpp11:
Jan Möbius's avatar
Jan Möbius committed
70
  stage: build
71
  script: "CI/ci-linux-build.sh gcc cpp11 release"
72
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
73
74
75
  tags: [Docker]
  artifacts:
    paths:
76
77
78
79
80
81
82
    - build-gcc-cpp11-release-Vector-Checks/

#-----------  Job Informations:
# Type:       Test: release
# OS:         Linux
# Compiler:   gcc
# Language:   cpp11
83

84
85
86
87
88
89
90
91
92
93
94
95
96
97
test-release-gcc-cpp11:
  stage: test
  script: "CI/ci-linux-test.sh gcc cpp11 release"
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
  tags: [Docker]
  dependencies: [build-release-gcc-cpp11]

#-----------  Job Informations:
# Type:       Build: debug
# OS:         Linux
# Compiler:   clang
# Language:   cpp11

build-debug-clang-cpp11:
Jan Möbius's avatar
Jan Möbius committed
98
  stage: build
99
  script: "CI/ci-linux-build.sh clang cpp11 debug"
100
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
101
102
103
  tags: [Docker]
  artifacts:
    paths:
104
    - build-clang-cpp11-debug-Vector-Checks/
105

106
107
108
109
110
#-----------  Job Informations:
# Type:       Test: debug
# OS:         Linux
# Compiler:   clang
# Language:   cpp11
111

112
test-debug-clang-cpp11:
113
  stage: test
114
  script: "CI/ci-linux-test.sh clang cpp11 debug"
115
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
116
  tags: [Docker]
117
118
119
120
121
122
123
  dependencies: [build-debug-clang-cpp11]

#-----------  Job Informations:
# Type:       Build: release
# OS:         Linux
# Compiler:   clang
# Language:   cpp11
124

125
build-release-clang-cpp11:
126
  stage: build
127
  script: "CI/ci-linux-build.sh clang cpp11 release"
128
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
129
130
131
  tags: [Docker]
  artifacts:
    paths:
132
133
134
135
136
137
138
139
140
141
142
143
144
145
    - build-clang-cpp11-release-Vector-Checks/

#-----------  Job Informations:
# Type:       Test: release
# OS:         Linux
# Compiler:   clang
# Language:   cpp11

test-release-clang-cpp11:
  stage: test
  script: "CI/ci-linux-test.sh clang cpp11 release"
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
  tags: [Docker]
  dependencies: [build-release-clang-cpp11]
146

147
148
149
150
151
152
153
#-----------  Job Informations:
# Type:       Build: debug
# OS:         Linux
# Compiler:   gcc
# Language:   cpp14

build-debug-gcc-cpp14:
154
  stage: build
155
  script: "CI/ci-linux-build.sh gcc cpp14 debug"
156
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
157
  tags: [Docker]
158
159
  artifacts:
    paths:
160
    - build-gcc-cpp14-debug-Vector-Checks/
161

162
163
164
165
166
#-----------  Job Informations:
# Type:       Test: debug
# OS:         Linux
# Compiler:   gcc
# Language:   cpp14
167

168
test-debug-gcc-cpp14:
169
  stage: test
170
  script: "CI/ci-linux-test.sh gcc cpp14 debug"
171
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
172
  tags: [Docker]
173
174
175
176
177
178
179
  dependencies: [build-debug-gcc-cpp14]

#-----------  Job Informations:
# Type:       Build: release
# OS:         Linux
# Compiler:   gcc
# Language:   cpp14
180

181
build-release-gcc-cpp14:
182
  stage: build
183
  script: "CI/ci-linux-build.sh gcc cpp14 release"
184
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
185
186
187
  tags: [Docker]
  artifacts:
    paths:
188
189
190
191
192
193
194
195
196
197
198
199
200
201
    - build-gcc-cpp14-release-Vector-Checks/

#-----------  Job Informations:
# Type:       Test: release
# OS:         Linux
# Compiler:   gcc
# Language:   cpp14

test-release-gcc-cpp14:
  stage: test
  script: "CI/ci-linux-test.sh gcc cpp14 release"
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
  tags: [Docker]
  dependencies: [build-release-gcc-cpp14]
202

203
204
205
206
207
208
209
#-----------  Job Informations:
# Type:       Build: debug
# OS:         Linux
# Compiler:   clang
# Language:   cpp14

build-debug-clang-cpp14:
210
  stage: build
211
  script: "CI/ci-linux-build.sh clang cpp14 debug"
212
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
213
214
215
  tags: [Docker]
  artifacts:
    paths:
216
    - build-clang-cpp14-debug-Vector-Checks/
217

218
219
220
221
222
#-----------  Job Informations:
# Type:       Test: debug
# OS:         Linux
# Compiler:   clang
# Language:   cpp14
223

224
test-debug-clang-cpp14:
225
  stage: test
226
  script: "CI/ci-linux-test.sh clang cpp14 debug"
227
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
228
  tags: [Docker]
229
230
231
232
233
234
235
  dependencies: [build-debug-clang-cpp14]

#-----------  Job Informations:
# Type:       Build: release
# OS:         Linux
# Compiler:   clang
# Language:   cpp14
236

237
build-release-clang-cpp14:
238
  stage: build
239
  script: "CI/ci-linux-build.sh clang cpp14 release"
240
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
241
242
243
  tags: [Docker]
  artifacts:
    paths:
244
    - build-clang-cpp14-release-Vector-Checks/
245

246
247
248
249
250
251
252
253
254
#-----------  Job Informations:
# Type:       Test: release
# OS:         Linux
# Compiler:   clang
# Language:   cpp14

test-release-clang-cpp14:
  stage: test
  script: "CI/ci-linux-test.sh clang cpp14 release"
255
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
256
  tags: [Docker]
257
258
  dependencies: [build-release-clang-cpp14]

259
260
261
262
263
264
265
266

# -----------------
# 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
267
  tags:
268
    - Apple
Jan Möbius's avatar
Jan Möbius committed
269

270
macos-cpp14-debug:
Jan Möbius's avatar
Jan Möbius committed
271
  stage: build
272
273
274
  script: "CI/ci-mac-build.sh C++14 debug ; CI/ci-mac-test.sh C++14 debug"
  tags:
    - Apple
275

276
macos-cpp11-release:
Jan Möbius's avatar
Jan Möbius committed
277
  stage: build
278
  script: "CI/ci-mac-build.sh C++11 release ; CI/ci-mac-test.sh C++11 release"
279
280
281
282
283
284
285
  tags:
    - Apple
  artifacts:
    paths:
      - build-release-cpp11/*.dmg
      - build-release-cpp11/*.tar.gz

286
macos-cpp14-release:
Jan Möbius's avatar
Jan Möbius committed
287
  stage: build
288
  script: "CI/ci-mac-build.sh C++14 release ; CI/ci-mac-test.sh C++14 release"
289
290
291
292
293
294
  tags:
    - Apple
  artifacts:
    paths:
      - build-release-cpp14/*.dmg
      - build-release-cpp14/*.tar.gz
295

296
297
298
299
# -----------------
# Windows tasks
# -----------------

300
VS2017-64-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
301
  stage: build
302
303
304
305
306
307
308
309
310
311
312
313
314
315
  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
316
  stage: build
Jan Möbius's avatar
Jan Möbius committed
317
  variables:
Jan Möbius's avatar
Jan Möbius committed
318
    BUILD_PLATFORM: "VS2017"
Jan Möbius's avatar
Jan Möbius committed
319
    ARCHITECTURE:   "x64"
320
321
    SHARED:         "FALSE"
    APPS:           "ON"
Martin Schultz's avatar
Martin Schultz committed
322
  script: "CI\\Windows.bat"
323
324
325
  tags:
    - VS2017
    - Qt5101    
326
327
328
  artifacts:
    paths:
      - build-release/*.exe
329
330
331

      
VS2017-64-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
332
  stage: build
333
334
335
336
337
338
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x64"
    SHARED:         "TRUE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
Jan Möbius's avatar
Jan Möbius committed
339
  tags:
Jan Möbius's avatar
Jan Möbius committed
340
    - VS2017
341
342
343
344
  artifacts:
    paths:
      - build-release/*.exe

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

346
VS2017-32-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
347
  stage: build
Jan Möbius's avatar
Jan Möbius committed
348
349
  variables:
    BUILD_PLATFORM: "VS2017"
350
    ARCHITECTURE:   "x32"
351
352
    SHARED:         "TRUE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
353
354
355
356
357
358
  script: "CI\\Windows.bat"
  tags:
    - VS2017
  artifacts:
    paths:
      - build-release/*.exe
359
      
Jan Möbius's avatar
Jan Möbius committed
360

361
VS2017-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
362
  stage: build
363
364
365
366
367
368
369
370
371
372
373
374
375
376
  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
377
  stage: build
378
379
380
381
382
383
384
385
386
387
388
  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
389

390
VS2015-64-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
391
  stage: build
392
393
394
395
396
397
398
399
400
401
402
403
404
405
  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
406
  stage: build
Jan Möbius's avatar
Jan Möbius committed
407
408
409
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x64"
410
411
    SHARED:         "TRUE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
412
413
414
415
416
417
418
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe

419
VS2015-32-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
420
  stage: build
Jan Möbius's avatar
Jan Möbius committed
421
422
423
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x32"
424
425
    SHARED:         "TRUE"
    APPS:           "ON"
Jan Möbius's avatar
Jan Möbius committed
426
427
428
429
430
431
432
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe

433
VS2015-32-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
434
  stage: build
435
436
437
438
439
440
441
442
443
444
445
446
447
  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
448
  stage: build
449
450
451
452
453
454
455
456
457
458
459
  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
460

461
VS2015-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
462
  stage: build
Jan Möbius's avatar
Jan Möbius committed
463
  variables:
464
    BUILD_PLATFORM: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
465
    ARCHITECTURE:   "x64"
466
467
    SHARED:         "FALSE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
468
469
  script: "CI\\Windows.bat"
  tags:
470
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
471
472
473
474
  artifacts:
    paths:
      - build-release/*.exe

475
VS2015-32-bit-static-apps:
Jan Möbius's avatar
Jan Möbius committed
476
  stage: build
Jan Möbius's avatar
Jan Möbius committed
477
  variables:
478
    BUILD_PLATFORM: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
479
    ARCHITECTURE:   "x32"
480
481
    SHARED:         "FALSE"
    APPS:           "ON"
Jan Möbius's avatar
Jan Möbius committed
482
483
  script: "CI\\Windows.bat"
  tags:
484
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
485
486
487
488
  artifacts:
    paths:
      - build-release/*.exe

489
VS2015-32-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
490
  stage: build
Jan Möbius's avatar
Jan Möbius committed
491
  variables:
492
493
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x32"
Jan Möbius's avatar
Jan Möbius committed
494
495
    SHARED:         "FALSE"
    APPS:           "OFF"
496
497
498
499
500
501
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe
502

Jan Möbius's avatar
Jan Möbius committed
503
Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
504
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
505
506
507
508
509
  only:
     - master
  script: "CI/ci-doc.sh"
  tags:
     - Linux
510
     - stretch     
Jan Möbius's avatar
Jan Möbius committed
511
512

Sources:
Jan Möbius's avatar
Jan Möbius committed
513
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
514
515
  only:
     - master
Jan Möbius's avatar
Jan Möbius committed
516
  script: "CI/ci-source.sh"
517
518
  tags:
     - Linux
519
     - stretch     
Jan Möbius's avatar
Jan Möbius committed
520
521
  artifacts:
    paths:
Jan Möbius's avatar
Jan Möbius committed
522
523
524
      - OpenMesh*.zip
      - OpenMesh*.tar.bz2
      - OpenMesh*.tar.gz
Jan Möbius's avatar
Jan Möbius committed
525

526