.gitlab-ci.yml 10.8 KB
Newer Older
1 2 3 4 5
stages:
  - Build
  - Test
  - Deploy

6 7 8
variables:
  GET_SOURCES_ATTEMPTS: 3

Jan Möbius's avatar
Jan Möbius committed
9
gcc-c++11-Qt5:
10 11
  stage:
    Build
12 13 14 15
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5"     
Jan Möbius's avatar
Jan Möbius committed
16
    GIT_SUBMODULE_STRATEGY: recursive
17
  script: "CI/ci-linux-build.sh"
Jan Möbius's avatar
Jan Möbius committed
18 19
  tags:
    - Linux
20
  artifacts:
21
    expire_in: 1 week
22
    paths:
23
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
24

25
gcc-c++11-Qt5.9.0:
26 27
  stage:
    Build
28 29 30 31 32
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5.9.0"     
    GIT_SUBMODULE_STRATEGY: recursive
33
  script: "CI/ci-linux-build.sh"
34 35
  tags:
    - Linux
36
  artifacts:
37
    expire_in: 1 week
38
    paths:
39
       - artifacts
40

41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
debug-gcc-c++11-Qt5.9.0:
  stage:
    Build
  variables:
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts

Jan Möbius's avatar
Jan Möbius committed
58
clang-c++11-Qt5:
59 60
  stage:
    Build
61 62 63 64
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5"     
Jan Möbius's avatar
Jan Möbius committed
65
    GIT_SUBMODULE_STRATEGY: recursive
66
  script: "CI/ci-linux-build.sh"
Jan Möbius's avatar
Jan Möbius committed
67 68
  tags:
    - Linux
69
    - MultiThreads
70
  artifacts:
71
    expire_in: 1 week
72
    paths:
73
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
74

75
clang-c++11-Qt5.9.0:
76 77
  stage:
    Build
78 79 80 81 82
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5.9.0"     
    GIT_SUBMODULE_STRATEGY: recursive
83
  script: "CI/ci-linux-build.sh"
84 85 86
  tags:
    - Linux
    - MultiThreads
87
  artifacts:
88
    expire_in: 1 week
89
    paths:
90
       - artifacts
91

92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
debug-clang-c++11-Qt5.9.0:
  stage:
    Build
  variables:
    COMPILER:       "clang"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
    - MultiThreads
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts

110 111 112 113 114 115 116
test-gcc-c++11-Qt5:
  stage:
    Test
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5"     
117 118
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
119 120 121 122 123 124
  tags:
    - Linux
  dependencies:
    - gcc-c++11-Qt5
  artifacts:
    paths:
125
       - build-Release-gcc-cpp11-qt5/Testing/Temporary/LastTest.log
126

127 128 129 130 131 132 133
test-gcc-c++11-Qt5.9.0:
  stage:
    Test
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5.9.0"     
134 135
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
136 137 138 139 140 141
  tags:
    - Linux
  dependencies:
    - gcc-c++11-Qt5.9.0
  artifacts:
    paths:
142
       - build-Release-gcc-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
143

144 145 146 147 148 149 150 151 152 153 154 155 156
debug-test-gcc-c++11-Qt5.9.0:
  stage:
    Test
  variables:
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
  dependencies:
157
    - debug-gcc-c++11-Qt5.9.0
158 159
  artifacts:
    paths:
160
       - build-Debug-gcc-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
161

162 163 164 165 166 167 168
test-clang-c++11-Qt5:
  stage:
    Test
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5"     
169 170
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
171 172 173 174 175 176 177
  tags:
    - Linux
    - MultiThreads
  dependencies:
    - clang-c++11-Qt5
  artifacts:
    paths:
178
       - build-Release-clang-cpp11-qt5/Testing/Temporary/LastTest.log
179 180 181 182 183 184 185 186

test-clang-c++11-Qt5.9.0:
  stage:
    Test
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5.9.0"     
187 188
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
189 190 191 192 193 194 195
  tags:
    - Linux
    - MultiThreads
  dependencies:
    - clang-c++11-Qt5.9.0
  artifacts:
    paths:
196
       - build-Release-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
197

198 199 200 201 202 203 204 205 206 207 208 209 210 211
debug-test-clang-c++11-Qt5.9.0:
  stage:
    Test
  variables:
    COMPILER:       "clang"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
    - MultiThreads
  dependencies:
212
    - debug-clang-c++11-Qt5.9.0
213 214
  artifacts:
    paths:
215
       - build-Debug-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
216

217
cppcheck:
218 219
  stage:
    Test
220
  script: "artifacts/CI/ci-cppcheck.sh"
Jan Möbius's avatar
Jan Möbius committed
221 222
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
223 224 225
  tags:
    - Linux
    - MultiThreads
226
  dependencies:
227
    - gcc-c++11-Qt5
228 229 230
  artifacts:
    paths:
      - cppcheck.log
Jan Möbius's avatar
Jan Möbius committed
231

232
VS2015-Qt-5.6.2-x64:
233 234 235
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
236 237
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
238 239 240
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.6.2"
     COMPILER: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
241 242 243 244
  tags: 
    - VS2015
    - Qt56
  artifacts:
245
    expire_in: 1 week
Jan Möbius's avatar
Jan Möbius committed
246
    paths:
247
      - artifacts
248

249
VS2015-Qt-5.6.2-x32:
250 251 252
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
253 254
  variables:
    GIT_SUBMODULE_STRATEGY: recursive
255 256 257
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.6.2"
    COMPILER: "VS2015"
258 259 260 261
  tags: 
    - VS2015
    - Qt56
  artifacts:
262
    expire_in: 1 week
263
    paths:
264
      - artifacts
265

266
VS2015-Qt-5.9.0-x64:
267 268 269
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
270 271 272 273 274 275 276 277
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.9.0"
     COMPILER: "VS2015"
  tags: 
    - VS2015
  artifacts:
278
    expire_in: 1 week
279
    paths:
280
      - artifacts
281 282

VS2015-Qt-5.9.0-x32:
283 284 285
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
286 287 288 289 290 291 292 293
  variables:
    GIT_SUBMODULE_STRATEGY: recursive
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.9.0"
    COMPILER: "VS2015"
  tags: 
    - VS2015
  artifacts:
294
    expire_in: 1 week
295
    paths:
296
      - artifacts
297 298

VS2013-Qt-5.5.1-x64:
299 300 301
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
302 303
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
304
     ARCHITECTURE: "x64"
305 306
     QT_VERSION: "Qt5.5.1"
     COMPILER: "VS2013"
307 308 309 310
  tags:
    - VS2013
    - Qt551
  artifacts:
311
    expire_in: 1 week
312
    paths:
313 314
      - artifacts

315 316 317
Test:VS2015-Qt-5.6.2-x64:
  stage:
    Test
318
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
319
  variables:
320
     GIT_STRATEGY: none
321 322 323
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.6.2"
     COMPILER: "VS2015"
324
     STAGE2SCRIPT: ci-windows-test.bat
325 326 327 328 329 330 331 332 333 334 335 336
  tags: 
    - VS2015
    - Qt56
  dependencies:
    - VS2015-Qt-5.6.2-x64
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Test:VS2015-Qt-5.6.2-x32:
  stage:
    Test
337
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
338
  variables:
339
    GIT_STRATEGY: none
340 341 342
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.6.2"
    COMPILER: "VS2015"
343
    STAGE2SCRIPT: ci-windows-test.bat
344 345 346 347 348 349 350 351 352 353 354 355
  tags: 
    - VS2015
    - Qt56
  dependencies:
    - VS2015-Qt-5.6.2-x32
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Test:VS2015-Qt-5.9.0-x64:
  stage:
    Test
356
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
357
  variables:
358
     GIT_STRATEGY: none
359 360 361
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.9.0"
     COMPILER: "VS2015"
362
     STAGE2SCRIPT: ci-windows-test.bat
363 364 365 366 367 368 369 370 371 372 373
  tags: 
    - VS2015
  dependencies:
    - VS2015-Qt-5.9.0-x64
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Test:VS2015-Qt-5.9.0-x32:
  stage:
    Test
374
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
375
  variables:
376
    GIT_STRATEGY: none
377 378 379
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.9.0"
    COMPILER: "VS2015"
380
    STAGE2SCRIPT: ci-windows-test.bat
381 382 383 384 385 386 387 388 389 390 391
  tags: 
    - VS2015
  dependencies:
    - VS2015-Qt-5.9.0-x32
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Test:VS2013-Qt-5.5.1-x64:
  stage:
    Test
392
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
393
  variables:
394
     GIT_STRATEGY: none
395 396 397
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.5.1"
     COMPILER: "VS2013"
398
     STAGE2SCRIPT: ci-windows-test.bat
399 400 401 402 403 404 405 406
  tags:
    - VS2013
    - Qt551
  dependencies:
    - VS2013-Qt-5.5.1-x64
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log
Jan Möbius's avatar
Jan Möbius committed
407

408 409 410 411 412 413
Deploy:VS2015-Qt-5.6.2-x64:
  stage:
    Deploy
  only:
    - master
    - unstable
414
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
415
  variables:
416
     GIT_STRATEGY: none
417 418 419
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.6.2"
     COMPILER: "VS2015"
420
     STAGE2SCRIPT: ci-windows-deploy.bat
421 422 423 424 425 426 427 428 429 430 431 432 433 434 435
  tags: 
    - VS2015
    - Qt56
  dependencies:
    - VS2015-Qt-5.6.2-x64
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2015-Qt-5.6.2-x32:
  stage:
    Deploy
  only:
    - master
    - unstable
436
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
437
  variables:
438
    GIT_STRATEGY: none
439 440 441
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.6.2"
    COMPILER: "VS2015"
442
    STAGE2SCRIPT: ci-windows-deploy.bat
443 444 445 446 447 448 449 450 451 452 453 454 455 456 457
  tags: 
    - VS2015
    - Qt56
  dependencies:
    - VS2015-Qt-5.6.2-x32
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2015-Qt-5.9.0-x64:
  stage:
    Deploy
  only:
    - master
    - unstable
458
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
459
  variables:
460
     GIT_STRATEGY: none
461 462 463
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.9.0"
     COMPILER: "VS2015"
464
     STAGE2SCRIPT: ci-windows-deploy.bat
465 466 467 468 469 470 471 472 473 474 475 476 477 478
  tags: 
    - VS2015
  dependencies:
    - VS2015-Qt-5.9.0-x64
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2015-Qt-5.9.0-x32:
  stage:
    Deploy
  only:
    - master
    - unstable
479
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
480
  variables:
481
    GIT_STRATEGY: none
482 483 484
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.9.0"
    COMPILER: "VS2015"
485
    STAGE2SCRIPT: ci-windows-deploy.bat
486 487 488 489 490 491 492 493 494 495 496 497 498 499
  tags: 
    - VS2015
  dependencies:
    - VS2015-Qt-5.9.0-x32
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2013-Qt-5.5.1-x64:
  stage:
    Deploy
  only:
    - master
    - unstable
500
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
501
  variables:
502
     GIT_STRATEGY: none
503 504 505
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.5.1"
     COMPILER: "VS2013"
506
     STAGE2SCRIPT: ci-windows-deploy.bat
507 508 509 510 511 512 513 514 515
  tags:
    - VS2013
    - Qt551
  dependencies:
    - VS2013-Qt-5.5.1-x64
  artifacts:
    paths:
      - rel/*.exe

Jan Möbius's avatar
Jan Möbius committed
516
Mac-Cpp11:
517 518 519 520 521 522 523 524
  stage:
    Build
  script: "CI/ci-mac-build.sh"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
  tags:
    - Apple
  artifacts:
525
    expire_in: 1 week
526
    paths:
527
      - artifacts
528 529 530 531

Test:Mac-Cpp11:
  stage:
    Test
532
  script: "artifacts/CI/ci-mac-test.sh"
533
  variables:
534
     GIT_STRATEGY: none
535 536 537 538 539 540
  tags:
    - Apple
  dependencies:
    - Mac-Cpp11
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
541
      - build-release/Testing/Temporary/LastTest.log
542 543 544 545 546 547

Deploy:Mac-Cpp11:
  stage:
    Deploy
  only:
    - master
548
    - unstable
549
  script: "artifacts/CI/ci-mac-deploy.sh"
Jan Möbius's avatar
Jan Möbius committed
550
  variables:
551
     GIT_STRATEGY: none
Jan Möbius's avatar
Jan Möbius committed
552 553
  tags:
    - Apple
554 555
  dependencies:
    - Mac-Cpp11
Jan Möbius's avatar
Jan Möbius committed
556 557
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
558
      - build-release/*.dmg
Jan Möbius's avatar
Jan Möbius committed
559 560

Doc-publish:
561 562
  stage:
     Deploy 
Jan Möbius's avatar
Jan Möbius committed
563 564
  only:
     - master
565
     - unstable
Jan Möbius's avatar
Jan Möbius committed
566
  script: "CI/ci-doc.sh"
Jan Möbius's avatar
Jan Möbius committed
567 568
  tags:
     - Linux
569
  dependencies: []
Jan Möbius's avatar
Jan Möbius committed
570 571
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
Jan Möbius's avatar
Jan Möbius committed
572 573
  artifacts:
    paths:
574 575
       - build-release/Doxygen-warning.log 
       - build-release/Doxygen-error.log
Jan Möbius's avatar
Jan Möbius committed
576 577 578 579