.gitlab-ci.yml 11.9 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
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
243
    - Qt562
Jan Möbius's avatar
Jan Möbius committed
244
  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
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
260
    - Qt562
261
  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
  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
277
    - Qt59
278
  artifacts:
279
    expire_in: 1 week
280
    paths:
281
      - artifacts
282 283

VS2015-Qt-5.9.0-x32:
284 285 286
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
287 288 289 290 291 292 293
  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
294
    - Qt59    
295
  artifacts:
296
    expire_in: 1 week
297
    paths:
298
      - artifacts
299 300 301 302 303 304 305 306 307 308 309 310
      
VS2017-Qt-5.10.1:
  stage:
    Build
  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
311
    - Qt5101
312 313 314 315 316
  artifacts:
    expire_in: 1 week
    paths:
      - artifacts
      
317
VS2013-Qt-5.5.1-x64:
318 319 320
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
321 322
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
323
     ARCHITECTURE: "x64"
324 325
     QT_VERSION: "Qt5.5.1"
     COMPILER: "VS2013"
326 327 328 329
  tags:
    - VS2013
    - Qt551
  artifacts:
330
    expire_in: 1 week
331
    paths:
332 333
      - artifacts

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

Test:VS2015-Qt-5.6.2-x32:
  stage:
    Test
356
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
357
  variables:
358
    GIT_STRATEGY: none
359 360 361
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.6.2"
    COMPILER: "VS2015"
362
    STAGE2SCRIPT: ci-windows-test.bat
363 364
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
365
    - Qt562
366 367 368 369 370 371 372 373 374
  dependencies:
    - VS2015-Qt-5.6.2-x32
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Test:VS2015-Qt-5.9.0-x64:
  stage:
    Test
375
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
376
  variables:
377
     GIT_STRATEGY: none
378 379 380
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.9.0"
     COMPILER: "VS2015"
381
     STAGE2SCRIPT: ci-windows-test.bat
382 383
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
384
    - Qt59
385 386 387 388 389 390 391 392 393
  dependencies:
    - VS2015-Qt-5.9.0-x64
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Test:VS2015-Qt-5.9.0-x32:
  stage:
    Test
394
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
395
  variables:
396
    GIT_STRATEGY: none
397 398 399
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.9.0"
    COMPILER: "VS2015"
400
    STAGE2SCRIPT: ci-windows-test.bat
401 402
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
403
    - Qt59
404 405 406 407 408
  dependencies:
    - VS2015-Qt-5.9.0-x32
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log
409 410 411 412 413 414 415 416 417 418 419 420 421
      
Test:VS2017-Qt-5.10.1:
  stage:
    Test
  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
422
    - Qt5101
423 424 425 426 427 428
  dependencies:
    - VS2017-Qt-5.10.1
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log
      
429 430 431
Test:VS2013-Qt-5.5.1-x64:
  stage:
    Test
432
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
433
  variables:
434
     GIT_STRATEGY: none
435 436 437
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.5.1"
     COMPILER: "VS2013"
438
     STAGE2SCRIPT: ci-windows-test.bat
439 440 441 442 443 444 445 446
  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
447

448 449 450 451 452 453
Deploy:VS2015-Qt-5.6.2-x64:
  stage:
    Deploy
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
454
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
455
  variables:
456
     GIT_STRATEGY: none
457 458 459
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.6.2"
     COMPILER: "VS2015"
Martin Schultz's avatar
Martin Schultz committed
460
     STAGE2SCRIPT: ci-windows-deploy.bat
461 462
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
463
    - Qt562
464 465 466 467 468 469 470 471 472 473 474 475
  dependencies:
    - VS2015-Qt-5.6.2-x64
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2015-Qt-5.6.2-x32:
  stage:
    Deploy
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
476
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
477
  variables:
478
    GIT_STRATEGY: none
479 480 481
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.6.2"
    COMPILER: "VS2015"
Martin Schultz's avatar
Martin Schultz committed
482
    STAGE2SCRIPT: ci-windows-deploy.bat
483 484
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
485
    - Qt562
486 487 488 489 490 491 492 493 494 495 496 497
  dependencies:
    - VS2015-Qt-5.6.2-x32
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2015-Qt-5.9.0-x64:
  stage:
    Deploy
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
498
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
499
  variables:
500
     GIT_STRATEGY: none
501 502 503
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.9.0"
     COMPILER: "VS2015"
Martin Schultz's avatar
Martin Schultz committed
504
     STAGE2SCRIPT: ci-windows-deploy.bat
505 506
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
507
    - Qt59
508 509 510 511 512 513 514 515 516 517 518 519
  dependencies:
    - VS2015-Qt-5.9.0-x64
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2015-Qt-5.9.0-x32:
  stage:
    Deploy
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
520
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
521
  variables:
522
    GIT_STRATEGY: none
523 524 525
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.9.0"
    COMPILER: "VS2015"
Martin Schultz's avatar
Martin Schultz committed
526
    STAGE2SCRIPT: ci-windows-deploy.bat
527 528
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
529
    - Qt59
530 531 532 533 534
  dependencies:
    - VS2015-Qt-5.9.0-x32
  artifacts:
    paths:
      - rel/*.exe
535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550
      
Deploy:VS2017-Qt-5.10.1:
  stage:
    Deploy
  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
551
    - Qt5101
552 553 554 555 556
  dependencies:
    - VS2017-Qt-5.10.1
  artifacts:
    paths:
      - rel/*.exe
557 558 559 560 561 562 563

Deploy:VS2013-Qt-5.5.1-x64:
  stage:
    Deploy
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
564
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
565
  variables:
566
     GIT_STRATEGY: none
567 568 569
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.5.1"
     COMPILER: "VS2013"
Martin Schultz's avatar
Martin Schultz committed
570
     STAGE2SCRIPT: ci-windows-deploy.bat
571 572 573 574 575 576 577 578 579
  tags:
    - VS2013
    - Qt551
  dependencies:
    - VS2013-Qt-5.5.1-x64
  artifacts:
    paths:
      - rel/*.exe

Jan Möbius's avatar
typo  
Jan Möbius committed
580
Mac-Cpp11:
581 582 583 584 585 586 587 588
  stage:
    Build
  script: "CI/ci-mac-build.sh"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
  tags:
    - Apple
  artifacts:
589
    expire_in: 1 week
590
    paths:
591
      - artifacts
592 593 594 595

Test:Mac-Cpp11:
  stage:
    Test
596
  script: "artifacts/CI/ci-mac-test.sh"
597
  variables:
598
     GIT_STRATEGY: none
599 600 601 602 603 604
  tags:
    - Apple
  dependencies:
    - Mac-Cpp11
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
605
      - build-release/Testing/Temporary/LastTest.log
606 607 608 609 610 611

Deploy:Mac-Cpp11:
  stage:
    Deploy
  only:
    - master
612
    - unstable
613
  script: "artifacts/CI/ci-mac-deploy.sh"
Jan Möbius's avatar
Jan Möbius committed
614
  variables:
615
     GIT_STRATEGY: none
Jan Möbius's avatar
Jan Möbius committed
616 617
  tags:
    - Apple
618 619
  dependencies:
    - Mac-Cpp11
Jan Möbius's avatar
Jan Möbius committed
620 621
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
622
      - build-release/*.dmg
Jan Möbius's avatar
Jan Möbius committed
623 624

Doc-publish:
625 626
  stage:
     Deploy 
Jan Möbius's avatar
Jan Möbius committed
627 628
  only:
     - master
629
     - unstable
Jan Möbius's avatar
Jan Möbius committed
630
  script: "CI/ci-doc.sh"
Jan Möbius's avatar
Jan Möbius committed
631 632
  tags:
     - Linux
633
  dependencies: []
Jan Möbius's avatar
Jan Möbius committed
634 635
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
Jan Möbius's avatar
Jan Möbius committed
636 637
  artifacts:
    paths:
638 639
       - build-release/Doxygen-warning.log 
       - build-release/Doxygen-error.log
Jan Möbius's avatar
Jan Möbius committed
640 641 642 643