.gitlab-ci.yml 10.8 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]
62
  artifacts: 
63
64
    reports:
      junit:
Jan Möbius's avatar
Jan Möbius committed
65
66
67
        report.xml
        report-customvec.xml
        report-doublevec.xml
68

69
70
71
72
73
74

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

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

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

91
92
93
94
95
96
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]
97
  artifacts: 
98
99
    reports:
      junit:
Jan Möbius's avatar
Jan Möbius committed
100
101
102
        report.xml
        report-customvec.xml
        report-doublevec.xml
103

104
105
106
107
108
109
110
111

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

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

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

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

139
140
141
142
143
144

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

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

174

175
176
177
178
179
180
181
#-----------  Job Informations:
# Type:       Build: debug
# OS:         Linux
# Compiler:   gcc
# Language:   cpp14

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

190
191
192
193
194
#-----------  Job Informations:
# Type:       Test: debug
# OS:         Linux
# Compiler:   gcc
# Language:   cpp14
195

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

209
210
211
212
213
214

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

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

244

245
246
247
248
249
250
251
#-----------  Job Informations:
# Type:       Build: debug
# OS:         Linux
# Compiler:   clang
# Language:   cpp14

build-debug-clang-cpp14:
252
  stage: build
253
  script: "CI/ci-linux-build.sh clang cpp14 debug"
254
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
255
256
257
  tags: [Docker]
  artifacts:
    paths:
258
    - build-clang-cpp14-debug-Vector-Checks/
259

260
261
262
263
264
#-----------  Job Informations:
# Type:       Test: debug
# OS:         Linux
# Compiler:   clang
# Language:   cpp14
265

266
test-debug-clang-cpp14:
267
  stage: test
268
  script: "CI/ci-linux-test.sh clang cpp14 debug"
269
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
270
  tags: [Docker]
271
  dependencies: [build-debug-clang-cpp14]
272
  artifacts: 
273
274
    reports:
      junit:
Jan Möbius's avatar
Jan Möbius committed
275
276
277
        report.xml
        report-customvec.xml
        report-doublevec.xml
278

279
280
281
282
283
284

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

286
build-release-clang-cpp14:
287
  stage: build
288
  script: "CI/ci-linux-build.sh clang cpp14 release"
289
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
290
291
292
  tags: [Docker]
  artifacts:
    paths:
293
    - build-clang-cpp14-release-Vector-Checks/
294

295
296
297
298
299
300
301
302
303
#-----------  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"
304
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
305
  tags: [Docker]
306
  dependencies: [build-release-clang-cpp14]
307
  artifacts: 
308
309
    reports:
      junit:
Jan Möbius's avatar
Jan Möbius committed
310
311
312
        report.xml
        report-customvec.xml
        report-doublevec.xml
313

314

315
316
317
318
319
320
321
322

# -----------------
# 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
323
  tags:
324
    - Apple
Jan Möbius's avatar
Jan Möbius committed
325

326
macos-cpp14-debug:
Jan Möbius's avatar
Jan Möbius committed
327
  stage: build
328
329
330
  script: "CI/ci-mac-build.sh C++14 debug ; CI/ci-mac-test.sh C++14 debug"
  tags:
    - Apple
331

332
macos-cpp11-release:
Jan Möbius's avatar
Jan Möbius committed
333
  stage: build
334
  script: "CI/ci-mac-build.sh C++11 release ; CI/ci-mac-test.sh C++11 release"
335
336
337
338
339
340
341
  tags:
    - Apple
  artifacts:
    paths:
      - build-release-cpp11/*.dmg
      - build-release-cpp11/*.tar.gz

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

352
353
354
355
# -----------------
# Windows tasks
# -----------------

356
VS2017-64-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
357
  stage: build
358
359
360
361
362
363
364
365
366
367
368
369
370
371
  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
372
  stage: build
Jan Möbius's avatar
Jan Möbius committed
373
  variables:
Jan Möbius's avatar
Jan Möbius committed
374
    BUILD_PLATFORM: "VS2017"
Jan Möbius's avatar
Jan Möbius committed
375
    ARCHITECTURE:   "x64"
376
377
    SHARED:         "FALSE"
    APPS:           "ON"
Martin Schultz's avatar
Martin Schultz committed
378
  script: "CI\\Windows.bat"
379
380
381
  tags:
    - VS2017
    - Qt5101    
382
383
384
  artifacts:
    paths:
      - build-release/*.exe
385
386
387

      
VS2017-64-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
388
  stage: build
389
390
391
392
393
394
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x64"
    SHARED:         "TRUE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
Jan Möbius's avatar
Jan Möbius committed
395
  tags:
Jan Möbius's avatar
Jan Möbius committed
396
    - VS2017
397
398
399
400
401
  artifacts:
    paths:
      - build-release/*.exe

VS2017-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
402
  stage: build
403
404
405
406
407
408
409
410
411
412
413
414
415
  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
416
  stage: build
417
418
419
420
421
422
423
424
425
426
427
428
429
430
  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
431
  stage: build
Jan Möbius's avatar
Jan Möbius committed
432
433
434
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x64"
435
436
    SHARED:         "TRUE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
437
438
439
440
441
442
443
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe

444
VS2015-64-bit-static-apps:
Jan Möbius's avatar
Jan Möbius committed
445
  stage: build
446
447
448
449
450
451
452
453
454
455
456
  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
457

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

Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
473
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
474
475
476
477
478
  only:
     - master
  script: "CI/ci-doc.sh"
  tags:
     - Linux
479
     - stretch     
Jan Möbius's avatar
Jan Möbius committed
480
481

Sources:
Jan Möbius's avatar
Jan Möbius committed
482
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
483
484
  only:
     - master
Jan Möbius's avatar
Jan Möbius committed
485
  script: "CI/ci-source.sh"
486
487
  tags:
     - Linux
488
     - stretch     
Jan Möbius's avatar
Jan Möbius committed
489
490
  artifacts:
    paths:
Jan Möbius's avatar
Jan Möbius committed
491
492
493
      - OpenMesh*.zip
      - OpenMesh*.tar.bz2
      - OpenMesh*.tar.gz
Jan Möbius's avatar
Jan Möbius committed
494

495