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

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

39
debug-gcc-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
40
  stage: Build
41 42 43 44 45 46 47 48 49 50 51 52 53 54
  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
55
clang-c++11-Qt5:
Jan Möbius's avatar
Jan Möbius committed
56
  stage: Build
57 58 59 60
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5"     
Jan Möbius's avatar
Jan Möbius committed
61
    GIT_SUBMODULE_STRATEGY: recursive
62
  script: "CI/ci-linux-build.sh"
Jan Möbius's avatar
Jan Möbius committed
63 64
  tags:
    - Linux
65
    - MultiThreads
66
  artifacts:
67
    expire_in: 1 week
68
    paths:
69
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
70

71
clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
72
  stage: Build
73 74 75 76 77
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5.9.0"     
    GIT_SUBMODULE_STRATEGY: recursive
78
  script: "CI/ci-linux-build.sh"
79 80 81
  tags:
    - Linux
    - MultiThreads
82
  artifacts:
83
    expire_in: 1 week
84
    paths:
85
       - artifacts
86

87
debug-clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
88
  stage: Build
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
  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

104
test-gcc-c++11-Qt5:
Jan Möbius's avatar
Jan Möbius committed
105
  stage: Test
106 107 108 109
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5"     
110 111
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
112 113 114 115 116 117
  tags:
    - Linux
  dependencies:
    - gcc-c++11-Qt5
  artifacts:
    paths:
118
       - build-Release-gcc-cpp11-qt5/Testing/Temporary/LastTest.log
119

120
test-gcc-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
121
  stage: Test
122 123 124 125
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5.9.0"     
126 127
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
128 129 130 131 132 133
  tags:
    - Linux
  dependencies:
    - gcc-c++11-Qt5.9.0
  artifacts:
    paths:
134
       - build-Release-gcc-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
135

136
debug-test-gcc-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
137
  stage: Test
138 139 140 141 142 143 144 145 146 147
  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:
148
    - debug-gcc-c++11-Qt5.9.0
149 150
  artifacts:
    paths:
151
       - build-Debug-gcc-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
152

153
test-clang-c++11-Qt5:
Jan Möbius's avatar
Jan Möbius committed
154
  stage: Test
155 156 157 158
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5"     
159 160
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
161 162 163 164 165 166 167
  tags:
    - Linux
    - MultiThreads
  dependencies:
    - clang-c++11-Qt5
  artifacts:
    paths:
168
       - build-Release-clang-cpp11-qt5/Testing/Temporary/LastTest.log
169 170

test-clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
171
  stage: Test
172 173 174 175
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5.9.0"     
176 177
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
178 179 180 181 182 183 184
  tags:
    - Linux
    - MultiThreads
  dependencies:
    - clang-c++11-Qt5.9.0
  artifacts:
    paths:
185
       - build-Release-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
186

187
debug-test-clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
188
  stage: Test
189 190 191 192 193 194 195 196 197 198 199
  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:
200
    - debug-clang-c++11-Qt5.9.0
201 202
  artifacts:
    paths:
203
       - build-Debug-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
204

205
cppcheck:
Jan Möbius's avatar
Jan Möbius committed
206
  stage: Test
207
  script: "artifacts/CI/ci-cppcheck.sh"
Jan Möbius's avatar
Jan Möbius committed
208 209
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
210 211 212
  tags:
    - Linux
    - MultiThreads
213
  dependencies:
214
    - gcc-c++11-Qt5
215 216 217
  artifacts:
    paths:
      - cppcheck.log
Jan Möbius's avatar
Jan Möbius committed
218

219
VS2015-Qt-5.6.2-x64:
Jan Möbius's avatar
Jan Möbius committed
220
  stage: Build
221
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
222 223
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
224 225 226
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.6.2"
     COMPILER: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
227 228
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
229
    - Qt562
Jan Möbius's avatar
Jan Möbius committed
230
  artifacts:
231
    expire_in: 1 week
Jan Möbius's avatar
Jan Möbius committed
232
    paths:
233
      - artifacts
234

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

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

VS2015-Qt-5.9.0-x32:
Jan Möbius's avatar
Jan Möbius committed
268
  stage: Build
269
  script: "CI\\ci-windows-build.bat"
270 271 272 273 274 275 276
  variables:
    GIT_SUBMODULE_STRATEGY: recursive
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.9.0"
    COMPILER: "VS2015"
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
277
    - Qt59    
278
  artifacts:
279
    expire_in: 1 week
280
    paths:
281
      - artifacts
282 283
      
VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
284
  stage: Build
285 286 287 288 289 290 291 292
  script: "CI\\ci-windows-build.bat"
  variables:
    GIT_SUBMODULE_STRATEGY: recursive
    ARCHITECTURE: "x64"
    QT_VERSION: "Qt5.10.1"
    COMPILER: "VS2017"
  tags: 
    - VS2017
Jan Möbius's avatar
Jan Möbius committed
293
    - Qt5101
294 295 296 297 298
  artifacts:
    expire_in: 1 week
    paths:
      - artifacts
      
299
VS2013-Qt-5.5.1-x64:
Jan Möbius's avatar
Jan Möbius committed
300
  stage: Build
301
  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
Test:VS2015-Qt-5.6.2-x64:
Jan Möbius's avatar
Jan Möbius committed
316
  stage: Test
317
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
318
  variables:
319
     GIT_STRATEGY: none
320 321 322
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.6.2"
     COMPILER: "VS2015"
323
     STAGE2SCRIPT: ci-windows-test.bat
324 325
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
326
    - Qt562
327 328 329 330 331 332 333
  dependencies:
    - VS2015-Qt-5.6.2-x64
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Test:VS2015-Qt-5.6.2-x32:
Jan Möbius's avatar
Jan Möbius committed
334
  stage: Test
335
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
336
  variables:
337
    GIT_STRATEGY: none
338 339 340
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.6.2"
    COMPILER: "VS2015"
341
    STAGE2SCRIPT: ci-windows-test.bat
342 343
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
344
    - Qt562
345 346 347 348 349 350 351
  dependencies:
    - VS2015-Qt-5.6.2-x32
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Test:VS2015-Qt-5.9.0-x64:
Jan Möbius's avatar
Jan Möbius committed
352
  stage: Test
353
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
354
  variables:
355
     GIT_STRATEGY: none
356 357 358
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.9.0"
     COMPILER: "VS2015"
359
     STAGE2SCRIPT: ci-windows-test.bat
360 361
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
362
    - Qt59
363 364 365 366 367 368 369
  dependencies:
    - VS2015-Qt-5.9.0-x64
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Test:VS2015-Qt-5.9.0-x32:
Jan Möbius's avatar
Jan Möbius committed
370
  stage: Test
371
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
372
  variables:
373
    GIT_STRATEGY: none
374 375 376
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.9.0"
    COMPILER: "VS2015"
377
    STAGE2SCRIPT: ci-windows-test.bat
378 379
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
380
    - Qt59
381 382 383 384 385
  dependencies:
    - VS2015-Qt-5.9.0-x32
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log
386 387
      
Test:VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
388
  stage: Test
389 390 391 392 393 394 395 396 397
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
  variables:
    GIT_STRATEGY: none
    ARCHITECTURE: "x64"
    QT_VERSION: "Qt5.10.1"
    COMPILER: "VS2017"
    STAGE2SCRIPT: ci-windows-test.bat
  tags: 
    - VS2017
Jan Möbius's avatar
Jan Möbius committed
398
    - Qt5101
399 400 401 402 403 404
  dependencies:
    - VS2017-Qt-5.10.1
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log
      
405
Test:VS2013-Qt-5.5.1-x64:
Jan Möbius's avatar
Jan Möbius committed
406
  stage: Test
407
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
408
  variables:
409
     GIT_STRATEGY: none
410 411 412
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.5.1"
     COMPILER: "VS2013"
413
     STAGE2SCRIPT: ci-windows-test.bat
414 415 416 417 418 419 420 421
  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
422

423
Deploy:VS2015-Qt-5.6.2-x64:
Jan Möbius's avatar
Jan Möbius committed
424
  stage: Deploy
425 426 427
  only:
    - master
    - unstable
428
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
429
  variables:
430
     GIT_STRATEGY: none
431 432 433
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.6.2"
     COMPILER: "VS2015"
434
     STAGE2SCRIPT: ci-windows-deploy.bat
435 436
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
437
    - Qt562
438 439 440 441 442 443 444
  dependencies:
    - VS2015-Qt-5.6.2-x64
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2015-Qt-5.6.2-x32:
Jan Möbius's avatar
Jan Möbius committed
445
  stage: Deploy
446 447 448
  only:
    - master
    - unstable
449
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
450
  variables:
451
    GIT_STRATEGY: none
452 453 454
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.6.2"
    COMPILER: "VS2015"
455
    STAGE2SCRIPT: ci-windows-deploy.bat
456 457
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
458
    - Qt562
459 460 461 462 463 464 465
  dependencies:
    - VS2015-Qt-5.6.2-x32
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2015-Qt-5.9.0-x64:
Jan Möbius's avatar
Jan Möbius committed
466
  stage: Deploy
467 468 469
  only:
    - master
    - unstable
470
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
471
  variables:
472
     GIT_STRATEGY: none
473 474 475
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.9.0"
     COMPILER: "VS2015"
476
     STAGE2SCRIPT: ci-windows-deploy.bat
477 478
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
479
    - Qt59
480 481 482 483 484 485 486
  dependencies:
    - VS2015-Qt-5.9.0-x64
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2015-Qt-5.9.0-x32:
Jan Möbius's avatar
Jan Möbius committed
487
  stage: Deploy
488 489 490
  only:
    - master
    - unstable
491
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
492
  variables:
493
    GIT_STRATEGY: none
494 495 496
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.9.0"
    COMPILER: "VS2015"
497
    STAGE2SCRIPT: ci-windows-deploy.bat
498 499
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
500
    - Qt59
501 502 503 504 505
  dependencies:
    - VS2015-Qt-5.9.0-x32
  artifacts:
    paths:
      - rel/*.exe
506 507
      
Deploy:VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
508
  stage: Deploy
509 510 511 512 513 514 515 516 517 518 519 520
  only:
    - master
    - unstable
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
  variables:
    GIT_STRATEGY: none
    ARCHITECTURE: "x64"
    QT_VERSION: "Qt5.10.1"
    COMPILER: "VS2017"
    STAGE2SCRIPT: ci-windows-deploy.bat
  tags: 
    - VS2017
Jan Möbius's avatar
Jan Möbius committed
521
    - Qt5101
522 523 524 525 526
  dependencies:
    - VS2017-Qt-5.10.1
  artifacts:
    paths:
      - rel/*.exe
527 528

Deploy:VS2013-Qt-5.5.1-x64:
Jan Möbius's avatar
Jan Möbius committed
529
  stage: Deploy
530 531 532
  only:
    - master
    - unstable
533
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
534
  variables:
535
     GIT_STRATEGY: none
536 537 538
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.5.1"
     COMPILER: "VS2013"
539
     STAGE2SCRIPT: ci-windows-deploy.bat
540 541 542 543 544 545 546 547 548
  tags:
    - VS2013
    - Qt551
  dependencies:
    - VS2013-Qt-5.5.1-x64
  artifacts:
    paths:
      - rel/*.exe

Jan Möbius's avatar
Jan Möbius committed
549
Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
550
  stage: Build
551 552 553 554 555 556
  script: "CI/ci-mac-build.sh"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
  tags:
    - Apple
  artifacts:
557
    expire_in: 1 week
558
    paths:
559
      - artifacts
560 561

Test:Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
562
  stage: Test
563
  script: "artifacts/CI/ci-mac-test.sh"
564
  variables:
565
     GIT_STRATEGY: none
566 567 568 569 570 571
  tags:
    - Apple
  dependencies:
    - Mac-Cpp11
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
572
      - build-release/Testing/Temporary/LastTest.log
573 574

Deploy:Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
575
  stage: Deploy
576 577
  only:
    - master
578
    - unstable
579
  script: "artifacts/CI/ci-mac-deploy.sh"
Jan Möbius's avatar
Jan Möbius committed
580
  variables:
581
     GIT_STRATEGY: none
Jan Möbius's avatar
Jan Möbius committed
582 583
  tags:
    - Apple
584 585
  dependencies:
    - Mac-Cpp11
Jan Möbius's avatar
Jan Möbius committed
586 587
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
588
      - build-release/*.dmg
Jan Möbius's avatar
Jan Möbius committed
589 590

Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
591
  stage: Deploy 
Jan Möbius's avatar
Jan Möbius committed
592 593
  only:
     - master
594
     - unstable
Jan Möbius's avatar
Jan Möbius committed
595
  script: "CI/ci-doc.sh"
Jan Möbius's avatar
Jan Möbius committed
596 597
  tags:
     - Linux
598
  dependencies: []
Jan Möbius's avatar
Jan Möbius committed
599 600
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
Jan Möbius's avatar
Jan Möbius committed
601 602
  artifacts:
    paths:
603 604
       - build-release/Doxygen-warning.log 
       - build-release/Doxygen-error.log
Jan Möbius's avatar
Jan Möbius committed
605 606 607 608