.gitlab-ci.yml 9.57 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
  script: "CI/ci-cppcheck.sh"
27
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
28 29 30 31
  tags: [Docker] 
  artifacts:
    paths:
      - cppcheck.log
32

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

gcc-c++11-test-release:
  stage: test
  script: "CI/ci-linux-test.sh gcc C++11 release"
43
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
44
  tags: [Docker]
45
  dependencies: [gcc-c++11-build-release]
46 47

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

56
gcc-c++11-build-release:
Jan Möbius's avatar
Jan Möbius committed
57
  stage: build
58
  script: "CI/ci-linux-build.sh gcc C++11 release"
59
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
60 61 62 63 64 65 66 67
  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"
68
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
69
  tags: [Docker]
70
  dependencies: [clang-c++11-build-debug]
71 72 73 74

clang-c++11-test-release:
  stage: test
  script: "CI/ci-linux-test.sh clang C++11 release"
75
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
76
  tags: [Docker]
77
  dependencies: [clang-c++11-build-release]
78 79 80 81

clang-c++11-build-debug:
  stage: build
  script: "CI/ci-linux-build.sh clang C++11 debug"
82
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
83 84 85 86 87 88 89 90
  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"
91
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
92 93 94 95 96 97 98 99
  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"
100
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
101
  tags: [Docker]
102
  dependencies: [gcc-c++14-build-debug]
103 104 105 106

gcc-c++14-test-release:
  stage: test
  script: "CI/ci-linux-test.sh gcc C++14 release"
107
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
108
  tags: [Docker]
109
  dependencies: [gcc-c++14-build-release]
110 111 112 113

gcc-c++14-build-debug:
  stage: build
  script: "CI/ci-linux-build.sh gcc C++14 debug"
114
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
115 116 117 118 119 120 121 122
  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"
123
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
124 125 126 127 128 129 130 131
  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"
132
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
133
  tags: [Docker]
134
  dependencies: [clang-c++14-build-debug]
135 136 137 138

clang-c++14-test-release:
  stage: test
  script: "CI/ci-linux-test.sh clang C++14 release"
139
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
140
  tags: [Docker]
141
  dependencies: [clang-c++14-build-release]
142 143 144 145

clang-c++14-build-debug:
  stage: build
  script: "CI/ci-linux-build.sh clang C++14 debug"
146
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
147 148 149 150 151 152 153 154
  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"
155
  image: graphics.rwth-aachen.de:4567/docker/docker/docker-openmesh-container
156 157 158 159 160 161 162 163 164 165 166 167
  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
168
  tags:
169
    - Apple
Jan Möbius's avatar
Jan Möbius committed
170

171
macos-cpp14-debug:
Jan Möbius's avatar
Jan Möbius committed
172
  stage: build
173 174 175
  script: "CI/ci-mac-build.sh C++14 debug ; CI/ci-mac-test.sh C++14 debug"
  tags:
    - Apple
176

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

187
macos-cpp14-release:
Jan Möbius's avatar
Jan Möbius committed
188
  stage: build
189
  script: "CI/ci-mac-build.sh C++14 release ; CI/ci-mac-test.sh C++14 release"
190 191 192 193 194 195
  tags:
    - Apple
  artifacts:
    paths:
      - build-release-cpp14/*.dmg
      - build-release-cpp14/*.tar.gz
196

197 198 199 200
# -----------------
# Windows tasks
# -----------------

201
VS2017-64-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
202
  stage: build
203 204 205 206 207 208 209 210 211 212 213 214 215 216
  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
217
  stage: build
Jan Möbius's avatar
Jan Möbius committed
218
  variables:
Jan Möbius's avatar
Jan Möbius committed
219
    BUILD_PLATFORM: "VS2017"
Jan Möbius's avatar
Jan Möbius committed
220
    ARCHITECTURE:   "x64"
221 222
    SHARED:         "FALSE"
    APPS:           "ON"
Martin Schultz's avatar
Martin Schultz committed
223
  script: "CI\\Windows.bat"
224 225 226
  tags:
    - VS2017
    - Qt5101    
227 228 229
  artifacts:
    paths:
      - build-release/*.exe
230 231 232

      
VS2017-64-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
233
  stage: build
234 235 236 237 238 239
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x64"
    SHARED:         "TRUE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
Jan Möbius's avatar
Jan Möbius committed
240
  tags:
Jan Möbius's avatar
Jan Möbius committed
241
    - VS2017
242 243 244 245
  artifacts:
    paths:
      - build-release/*.exe

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

247
VS2017-32-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
248
  stage: build
Jan Möbius's avatar
Jan Möbius committed
249 250
  variables:
    BUILD_PLATFORM: "VS2017"
251
    ARCHITECTURE:   "x32"
252 253
    SHARED:         "TRUE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
254 255 256 257 258 259
  script: "CI\\Windows.bat"
  tags:
    - VS2017
  artifacts:
    paths:
      - build-release/*.exe
260
      
Jan Möbius's avatar
Jan Möbius committed
261

262
VS2017-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
263
  stage: build
264 265 266 267 268 269 270 271 272 273 274 275 276 277
  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
278
  stage: build
279 280 281 282 283 284 285 286 287 288 289
  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
290

291
VS2015-64-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
292
  stage: build
293 294 295 296 297 298 299 300 301 302 303 304 305 306
  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
307
  stage: build
Jan Möbius's avatar
Jan Möbius committed
308 309 310
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x64"
311 312
    SHARED:         "TRUE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
313 314 315 316 317 318 319
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe

320
VS2015-32-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
321
  stage: build
Jan Möbius's avatar
Jan Möbius committed
322 323 324
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x32"
325 326
    SHARED:         "TRUE"
    APPS:           "ON"
Jan Möbius's avatar
Jan Möbius committed
327 328 329 330 331 332 333
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe

334
VS2015-32-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
335
  stage: build
336 337 338 339 340 341 342 343 344 345 346 347 348
  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
349
  stage: build
350 351 352 353 354 355 356 357 358 359 360
  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
361

362
VS2015-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
363
  stage: build
Jan Möbius's avatar
Jan Möbius committed
364
  variables:
365
    BUILD_PLATFORM: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
366
    ARCHITECTURE:   "x64"
367 368
    SHARED:         "FALSE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
369 370
  script: "CI\\Windows.bat"
  tags:
371
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
372 373 374 375
  artifacts:
    paths:
      - build-release/*.exe

376
VS2015-32-bit-static-apps:
Jan Möbius's avatar
Jan Möbius committed
377
  stage: build
Jan Möbius's avatar
Jan Möbius committed
378
  variables:
379
    BUILD_PLATFORM: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
380
    ARCHITECTURE:   "x32"
381 382
    SHARED:         "FALSE"
    APPS:           "ON"
Jan Möbius's avatar
Jan Möbius committed
383 384
  script: "CI\\Windows.bat"
  tags:
385
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
386 387 388 389
  artifacts:
    paths:
      - build-release/*.exe

390
VS2015-32-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
391
  stage: build
Jan Möbius's avatar
Jan Möbius committed
392
  variables:
393 394
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x32"
Jan Möbius's avatar
Jan Möbius committed
395 396
    SHARED:         "FALSE"
    APPS:           "OFF"
397 398 399 400 401 402
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe
403

Jan Möbius's avatar
Jan Möbius committed
404
Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
405
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
406 407 408 409 410
  only:
     - master
  script: "CI/ci-doc.sh"
  tags:
     - Linux
411
     - stretch     
Jan Möbius's avatar
Jan Möbius committed
412 413

Sources:
Jan Möbius's avatar
Jan Möbius committed
414
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
415 416
  only:
     - master
Jan Möbius's avatar
Jan Möbius committed
417
  script: "CI/ci-source.sh"
418 419
  tags:
     - Linux
420
     - stretch     
Jan Möbius's avatar
Jan Möbius committed
421 422
  artifacts:
    paths:
Jan Möbius's avatar
Jan Möbius committed
423 424 425
      - OpenMesh*.zip
      - OpenMesh*.tar.bz2
      - OpenMesh*.tar.gz
Jan Möbius's avatar
Jan Möbius committed
426

427