.gitlab-ci.yml 11.1 KB
Newer Older
1
2
3
4
5
#############################################################
#                                                           #
# This is an auto generated file. Do not make               #
# changes to this file. They possible will be overriden.    #
#                                                           #
6
# To make persistent changes, changes files in              #
7
8
# ./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
  dependencies: [build-debug-gcc-cpp11]
Jan Möbius's avatar
Jan Möbius committed
62
63
  needs: [build-debug-gcc-cpp11]
  artifacts:
64
65
    reports:
      junit:
Jan Möbius's avatar
Jan Möbius committed
66
67
68
        report.xml
        report-customvec.xml
        report-doublevec.xml
69

70
71
72
73
74
75

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

77
build-release-gcc-cpp11:
Jan Möbius's avatar
Jan Möbius committed
78
  stage: build
79
  script: "CI/ci-linux-build.sh gcc cpp11 release"
80
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
81
82
83
  tags: [Docker]
  artifacts:
    paths:
84
85
86
87
88
89
90
    - build-gcc-cpp11-release-Vector-Checks/

#-----------  Job Informations:
# Type:       Test: release
# OS:         Linux
# Compiler:   gcc
# Language:   cpp11
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]
Jan Möbius's avatar
Jan Möbius committed
98
99
  needs: [build-release-gcc-cpp11]
  artifacts:
100
101
    reports:
      junit:
Jan Möbius's avatar
Jan Möbius committed
102
103
104
        report.xml
        report-customvec.xml
        report-doublevec.xml
105

106
107
108
109
110
111
112
113

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

build-debug-clang-cpp11:
Jan Möbius's avatar
Jan Möbius committed
114
  stage: build
115
  script: "CI/ci-linux-build.sh clang cpp11 debug"
116
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
117
118
119
  tags: [Docker]
  artifacts:
    paths:
120
    - build-clang-cpp11-debug-Vector-Checks/
121

122
123
124
125
126
#-----------  Job Informations:
# Type:       Test: debug
# OS:         Linux
# Compiler:   clang
# Language:   cpp11
127

128
test-debug-clang-cpp11:
129
  stage: test
130
  script: "CI/ci-linux-test.sh clang cpp11 debug"
131
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
132
  tags: [Docker]
133
  dependencies: [build-debug-clang-cpp11]
Jan Möbius's avatar
Jan Möbius committed
134
135
  needs: [build-debug-clang-cpp11]
  artifacts:
136
137
    reports:
      junit:
Jan Möbius's avatar
Jan Möbius committed
138
139
140
        report.xml
        report-customvec.xml
        report-doublevec.xml
141

142
143
144
145
146
147

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

149
build-release-clang-cpp11:
150
  stage: build
151
  script: "CI/ci-linux-build.sh clang cpp11 release"
152
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
153
154
155
  tags: [Docker]
  artifacts:
    paths:
156
157
158
159
160
161
162
163
164
165
166
167
168
169
    - 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]
Jan Möbius's avatar
Jan Möbius committed
170
171
  needs: [build-release-clang-cpp11]
  artifacts:
172
173
    reports:
      junit:
Jan Möbius's avatar
Jan Möbius committed
174
175
176
        report.xml
        report-customvec.xml
        report-doublevec.xml
177

178

179
180
181
182
183
184
185
#-----------  Job Informations:
# Type:       Build: debug
# OS:         Linux
# Compiler:   gcc
# Language:   cpp14

build-debug-gcc-cpp14:
186
  stage: build
187
  script: "CI/ci-linux-build.sh gcc cpp14 debug"
188
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
189
  tags: [Docker]
190
191
  artifacts:
    paths:
192
    - build-gcc-cpp14-debug-Vector-Checks/
193

194
195
196
197
198
#-----------  Job Informations:
# Type:       Test: debug
# OS:         Linux
# Compiler:   gcc
# Language:   cpp14
199

200
test-debug-gcc-cpp14:
201
  stage: test
202
  script: "CI/ci-linux-test.sh gcc cpp14 debug"
203
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
204
  tags: [Docker]
205
  dependencies: [build-debug-gcc-cpp14]
Jan Möbius's avatar
Jan Möbius committed
206
207
  needs: [build-debug-gcc-cpp14]
  artifacts:
208
209
    reports:
      junit:
Jan Möbius's avatar
Jan Möbius committed
210
211
212
        report.xml
        report-customvec.xml
        report-doublevec.xml
213

214
215
216
217
218
219

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

221
build-release-gcc-cpp14:
222
  stage: build
223
  script: "CI/ci-linux-build.sh gcc cpp14 release"
224
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
225
226
227
  tags: [Docker]
  artifacts:
    paths:
228
229
230
231
232
233
234
235
236
237
238
239
240
241
    - 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]
Jan Möbius's avatar
Jan Möbius committed
242
243
  needs: [build-release-gcc-cpp14]
  artifacts:
244
245
    reports:
      junit:
Jan Möbius's avatar
Jan Möbius committed
246
247
248
        report.xml
        report-customvec.xml
        report-doublevec.xml
249

250

251
252
253
254
255
256
257
#-----------  Job Informations:
# Type:       Build: debug
# OS:         Linux
# Compiler:   clang
# Language:   cpp14

build-debug-clang-cpp14:
258
  stage: build
259
  script: "CI/ci-linux-build.sh clang cpp14 debug"
260
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
261
262
263
  tags: [Docker]
  artifacts:
    paths:
264
    - build-clang-cpp14-debug-Vector-Checks/
265

266
267
268
269
270
#-----------  Job Informations:
# Type:       Test: debug
# OS:         Linux
# Compiler:   clang
# Language:   cpp14
271

272
test-debug-clang-cpp14:
273
  stage: test
274
  script: "CI/ci-linux-test.sh clang cpp14 debug"
275
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
276
  tags: [Docker]
277
  dependencies: [build-debug-clang-cpp14]
Jan Möbius's avatar
Jan Möbius committed
278
279
  needs: [build-debug-clang-cpp14]
  artifacts:
280
281
    reports:
      junit:
Jan Möbius's avatar
Jan Möbius committed
282
283
284
        report.xml
        report-customvec.xml
        report-doublevec.xml
285

286
287
288
289
290
291

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

293
build-release-clang-cpp14:
294
  stage: build
295
  script: "CI/ci-linux-build.sh clang cpp14 release"
296
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
297
298
299
  tags: [Docker]
  artifacts:
    paths:
300
    - build-clang-cpp14-release-Vector-Checks/
301

302
303
304
305
306
307
308
309
310
#-----------  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"
311
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
312
  tags: [Docker]
313
  dependencies: [build-release-clang-cpp14]
Jan Möbius's avatar
Jan Möbius committed
314
315
  needs: [build-release-clang-cpp14]
  artifacts:
Jan Möbius's avatar
Jan Möbius committed
316
317
    paths:
      - *
318
319
    reports:
      junit:
Jan Möbius's avatar
Jan Möbius committed
320
321
322
        report.xml
        report-customvec.xml
        report-doublevec.xml
323

324

325
326
327
328
329
330
331
332

# -----------------
# 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
333
  tags:
334
    - Apple
Jan Möbius's avatar
Jan Möbius committed
335

336
macos-cpp14-debug:
Jan Möbius's avatar
Jan Möbius committed
337
  stage: build
338
339
340
  script: "CI/ci-mac-build.sh C++14 debug ; CI/ci-mac-test.sh C++14 debug"
  tags:
    - Apple
341

342
macos-cpp11-release:
Jan Möbius's avatar
Jan Möbius committed
343
  stage: build
344
  script: "CI/ci-mac-build.sh C++11 release ; CI/ci-mac-test.sh C++11 release"
345
346
347
348
349
350
351
  tags:
    - Apple
  artifacts:
    paths:
      - build-release-cpp11/*.dmg
      - build-release-cpp11/*.tar.gz

352
macos-cpp14-release:
Jan Möbius's avatar
Jan Möbius committed
353
  stage: build
354
  script: "CI/ci-mac-build.sh C++14 release ; CI/ci-mac-test.sh C++14 release"
355
356
357
358
359
360
  tags:
    - Apple
  artifacts:
    paths:
      - build-release-cpp14/*.dmg
      - build-release-cpp14/*.tar.gz
361

362
363
364
365
# -----------------
# Windows tasks
# -----------------

366
VS2017-64-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
367
  stage: build
368
369
370
371
372
373
374
375
376
377
378
379
380
381
  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
382
  stage: build
Jan Möbius's avatar
Jan Möbius committed
383
  variables:
Jan Möbius's avatar
Jan Möbius committed
384
    BUILD_PLATFORM: "VS2017"
Jan Möbius's avatar
Jan Möbius committed
385
    ARCHITECTURE:   "x64"
386
387
    SHARED:         "FALSE"
    APPS:           "ON"
Martin Schultz's avatar
Martin Schultz committed
388
  script: "CI\\Windows.bat"
389
390
391
  tags:
    - VS2017
    - Qt5101    
392
393
394
  artifacts:
    paths:
      - build-release/*.exe
395
396
397

      
VS2017-64-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
398
  stage: build
399
400
401
402
403
404
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x64"
    SHARED:         "TRUE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
Jan Möbius's avatar
Jan Möbius committed
405
  tags:
Jan Möbius's avatar
Jan Möbius committed
406
    - VS2017
407
408
409
410
411
  artifacts:
    paths:
      - build-release/*.exe

VS2017-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
412
  stage: build
413
414
415
416
417
418
419
420
421
422
423
424
425
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x64"
    SHARED:         "FALSE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
  tags:
    - VS2017
  artifacts:
    paths:
      - build-release/*.exe

VS2015-64-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
426
  stage: build
427
428
429
430
431
432
433
434
435
436
437
438
439
440
  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
441
  stage: build
Jan Möbius's avatar
Jan Möbius committed
442
443
444
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x64"
445
446
    SHARED:         "TRUE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
447
448
449
450
451
452
453
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe

454
VS2015-64-bit-static-apps:
Jan Möbius's avatar
Jan Möbius committed
455
  stage: build
456
457
458
459
460
461
462
463
464
465
466
  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
467

468
VS2015-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
469
  stage: build
Jan Möbius's avatar
Jan Möbius committed
470
  variables:
471
    BUILD_PLATFORM: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
472
    ARCHITECTURE:   "x64"
473
474
    SHARED:         "FALSE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
475
476
  script: "CI\\Windows.bat"
  tags:
477
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
478
479
480
481
482
  artifacts:
    paths:
      - build-release/*.exe

Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
483
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
484
485
486
487
488
  only:
     - master
  script: "CI/ci-doc.sh"
  tags:
     - Linux
489
     - stretch     
Jan Möbius's avatar
Jan Möbius committed
490
491

Sources:
Jan Möbius's avatar
Jan Möbius committed
492
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
493
494
  only:
     - master
Jan Möbius's avatar
Jan Möbius committed
495
  script: "CI/ci-source.sh"
496
497
  tags:
     - Linux
498
     - stretch     
Jan Möbius's avatar
Jan Möbius committed
499
500
  artifacts:
    paths:
Jan Möbius's avatar
Jan Möbius committed
501
502
503
      - OpenMesh*.zip
      - OpenMesh*.tar.bz2
      - OpenMesh*.tar.gz
Jan Möbius's avatar
Jan Möbius committed
504

505