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

6 7
variables:
  GET_SOURCES_ATTEMPTS: 3
8
  CTEST_OUTPUT_ON_FAILURE: 1
9

Jan Möbius's avatar
Jan Möbius committed
10 11 12
  
  
gcc-c++11-Qt5.12.2:
Jan Möbius's avatar
Jan Möbius committed
13
  stage: Build
14 15 16
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
Jan Möbius's avatar
Jan Möbius committed
17
    QTVERSION:      "QT5.12.2"     
Jan Möbius's avatar
Jan Möbius committed
18
    GIT_SUBMODULE_STRATEGY: recursive
19
  script: "CI/ci-linux-build.sh"
Jan Möbius's avatar
Jan Möbius committed
20 21
  tags:
    - Linux
22
    - stretch
23
  artifacts:
24
    expire_in: 1 week
25
    paths:
26
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
27 28 29 30 31 32 33 34 35 36 37 38 39 40
       
test-gcc-c++11-Qt5.12.2:
  stage: Test
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5.12.2"     
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
    - stretch
  dependencies:
    - gcc-c++11-Qt5.12.2
41
  needs: [gcc-c++11-Qt5.12.2]
Jan Möbius's avatar
Jan Möbius committed
42 43 44 45 46 47
  artifacts:
    paths:
       - build-Release-gcc-cpp11-qt5/Testing/Temporary/LastTest.log    
       
       
gcc-c++11-Qt5.12.2-nopython:
48 49 50 51 52 53 54 55
  stage: Build
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5.11.2"    
    PYTHON:	    "no" 
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
Jan Möbius's avatar
Jan Möbius committed
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
  tags:
    - Linux
    - stretch
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts       
  
  
gcc-c++11-Qt5.11.2:
  stage: Build
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5.11.2"     
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
73 74 75 76 77 78 79
  tags:
    - Linux
    - stretch
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
80
       
81
test-gcc-c++11-Qt5.11.2:
82 83 84 85
  stage: Test
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
86
    QTVERSION:      "QT5.11.2"     
87 88 89 90
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
91
    - stretch
92
  dependencies:
93
    - gcc-c++11-Qt5.11.2
94
  needs: [gcc-c++11-Qt5.11.2]
95 96
  artifacts:
    paths:
Jan Möbius's avatar
Jan Möbius committed
97 98
       - build-Release-gcc-cpp11-qt5/Testing/Temporary/LastTest.log  
       
99
       
Jan Möbius's avatar
Jan Möbius committed
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
gcc-c++11-Qt5.11.2-nopython:
  stage: Build
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5.11.2"    
    PYTHON:	    "no" 
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
    - stretch
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts


118
gcc-c++11-Qt5.13.0:
Jan Möbius's avatar
Jan Möbius committed
119
  stage: Build
120 121 122
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
123
    QTVERSION:      "QT5.13.0"     
124
    GIT_SUBMODULE_STRATEGY: recursive
125
  script: "CI/ci-linux-build.sh"
126 127
  tags:
    - Linux
128
    - stretch
129
  artifacts:
130
    expire_in: 1 week
131
    paths:
132
       - artifacts
133
  
134
test-gcc-c++11-Qt5.13.0:
135 136 137 138
  stage: Test
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
139
    QTVERSION:      "QT5.13.0"     
140 141 142 143
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
144
    - stretch
145
  dependencies:
146
    - gcc-c++11-Qt5.13.0
147
  needs: [gcc-c++11-Qt5.13.0]
148 149
  artifacts:
    paths:
150
       - build-Release-gcc-cpp11-qt5.13.0/Testing/Temporary/LastTest.log  
151 152 153
  
  
  
154
debug-gcc-c++11-Qt5.13.0:
Jan Möbius's avatar
Jan Möbius committed
155
  stage: Build
156 157 158
  variables:
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
159
    QTVERSION:      "QT5.13.0"
160 161 162 163 164
    BUILDTYPE:      "Debug"
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
165
    - stretch
166 167 168 169
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts
170
       
171
debug-test-gcc-c++11-Qt5.13.0:
172
  stage: Test
173
  variables:
174 175
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
176
    QTVERSION:      "QT5.13.0"
177 178 179
    BUILDTYPE:      "Debug"
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
Jan Möbius's avatar
Jan Möbius committed
180 181
  tags:
    - Linux
182
    - stretch
183
  dependencies:
184
    - debug-gcc-c++11-Qt5.13.0
185
  needs: [debug-gcc-c++11-Qt5.13.0]
186 187
  artifacts:
    paths:
188
       - build-Debug-gcc-cpp11-qt5.13.0/Testing/Temporary/LastTest.log
189 190 191
       
       
gcc-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
192
  stage: Build
193 194 195 196
  variables:     
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.11.2"
197
    GIT_SUBMODULE_STRATEGY: recursive
198
  script: "CI/ci-linux-build.sh"
199 200
  tags:
    - Linux
201
    - stretch
202
  artifacts:
203
    expire_in: 1 week
204
    paths:
205
       - artifacts
206 207 208 209 210 211 212 213 214 215 216
  
test-gcc-c++11-Qt5.11.2:
  stage: Test
  variables:     
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.11.2"
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
217
    - stretch
218 219
  dependencies:
    - gcc-c++11-Qt5.11.2
220
  needs: [gcc-c++11-Qt5.11.2]
221 222 223 224 225 226
  artifacts:
    paths:
       - build-Release-gcc-cpp11-qt5.11.2/Testing/Temporary/LastTest.log  
  
  
debug-gcc-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
227
  stage: Build
228
  variables:
229
    COMPILER:       "gcc"
230
    LANGUAGE:       "C++11"
231
    QTVERSION:      "QT5.11.2"
232 233 234 235 236
    BUILDTYPE:      "Debug"
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
237
    - stretch
238 239 240 241
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts
242 243
       
debug-test-gcc-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
244
  stage: Test
245 246 247 248 249
  variables:
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.11.2"
    BUILDTYPE:      "Debug"
250 251
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
252 253
  tags:
    - Linux
254
    - stretch
255
  dependencies:
256
    - debug-gcc-c++11-Qt5.11.2
257
  needs: [debug-gcc-c++11-Qt5.11.2]
258 259
  artifacts:
    paths:
260 261 262
       - build-Debug-gcc-cpp11-qt5.11.2/Testing/Temporary/LastTest.log
       
  
263

264
clang-c++11-Qt5.11.2:
265 266 267 268
  stage: Build
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
269
    QTVERSION:      "QT5.11.2"     
270 271 272 273
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
274
    - stretch
275 276 277 278 279 280
    - MultiThreads
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts

281
clang-c++11-Qt5.13.0:
282 283 284 285
  stage: Build
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
286
    QTVERSION:      "QT5.13.0"     
287 288
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
289 290
  tags:
    - Linux
291
    - stretch
292
    - MultiThreads
293
  artifacts:
294
    expire_in: 1 week
295
    paths:
296
       - artifacts
297

298
debug-clang-c++11-Qt5.13.0:
299
  stage: Build
300
  variables:
301
    COMPILER:       "clang"
302
    LANGUAGE:       "C++11"
303
    QTVERSION:      "QT5.13.0"
304
    BUILDTYPE:      "Debug"
305 306
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
307 308
  tags:
    - Linux
309
    - stretch
310
    - MultiThreads
311
  artifacts:
312
    expire_in: 1 week
313
    paths:
314
       - artifacts
315

316
test-clang-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
317
  stage: Test
318 319 320
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
321
    QTVERSION:      "QT5.11.2"     
322 323
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
324 325
  tags:
    - Linux
326
    - stretch
327 328
    - MultiThreads
  dependencies:
329
    - clang-c++11-Qt5.11.2
330
  needs: [clang-c++11-Qt5.11.2]
331 332
  artifacts:
    paths:
333
       - build-Release-clang-cpp11-qt5/Testing/Temporary/LastTest.log
334

335
test-clang-c++11-Qt5.13.0:
Jan Möbius's avatar
Jan Möbius committed
336
  stage: Test
337 338 339
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
340
    QTVERSION:      "QT5.13.0"     
341 342
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
343 344
  tags:
    - Linux
345
    - stretch
346 347
    - MultiThreads
  dependencies:
348
    - clang-c++11-Qt5.13.0
349
  needs: [clang-c++11-Qt5.13.0]
350 351
  artifacts:
    paths:
352
       - build-Release-clang-cpp11-qt5.13.0/Testing/Temporary/LastTest.log
353

354
debug-test-clang-c++11-Qt5.13.0:
Jan Möbius's avatar
Jan Möbius committed
355
  stage: Test
356 357 358
  variables:
    COMPILER:       "clang"
    LANGUAGE:       "C++11"
359
    QTVERSION:      "QT5.13.0"
360 361 362 363 364
    BUILDTYPE:      "Debug"
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
365
    - stretch
366 367
    - MultiThreads
  dependencies:
368
    - debug-clang-c++11-Qt5.13.0
369
  needs: [debug-clang-c++11-Qt5.13.0]
370 371
  artifacts:
    paths:
372
       - build-Debug-clang-cpp11-qt5.13.0/Testing/Temporary/LastTest.log
373

374
cppcheck:
375
  stage: Build
Jan Möbius's avatar
Jan Möbius committed
376
  script: "CI/ci-cppcheck.sh"
Jan Möbius's avatar
Jan Möbius committed
377 378
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
379 380
  tags:
    - Linux
381
    - stretch
382
    - MultiThreads
383 384 385
  artifacts:
    paths:
      - cppcheck.log
Jan Möbius's avatar
Jan Möbius committed
386

387
VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
388
  stage: Build
389
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
390 391
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
392
     ARCHITECTURE: "x64"
393
     QT_VERSION: "Qt5.10.1"
394
     COMPILER: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
395 396
  tags: 
    - VS2015
397
    - Qt5101
398
  artifacts:
399
    expire_in: 1 week
400
    paths:
401
      - artifacts
402

403
VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
404
  stage: Build
405 406 407 408 409 410 411 412
  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
413
    - Qt5101
414 415 416 417 418
  artifacts:
    expire_in: 1 week
    paths:
      - artifacts
      
419
Test:VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
420
  stage: Test
421
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
422
  variables:
423
     GIT_STRATEGY: none
424
     ARCHITECTURE: "x64"
425
     QT_VERSION: "Qt5.10.1"
426
     COMPILER: "VS2015"
427
     STAGE2SCRIPT: ci-windows-test.bat
428 429
  tags: 
    - VS2015
430
    - Qt5101
431
  dependencies:
432
    - VS2015-Qt-5.10.1-x64
433
  needs: [VS2015-Qt-5.10.1-x64]
434 435 436 437
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

438
Test:VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
439
  stage: Test
440 441 442 443 444 445 446 447 448
  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
449
    - Qt5101
450 451
  dependencies:
    - VS2017-Qt-5.10.1
452
  needs: [VS2017-Qt-5.10.1]
453 454 455 456
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log
      
457
Deploy:VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
458
  stage: Deploy
459 460 461
  only:
    - master
    - unstable
462
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
463
  variables:
464
     GIT_STRATEGY: none
465
     ARCHITECTURE: "x64"
466
     QT_VERSION: "Qt5.10.1"
467
     COMPILER: "VS2015"
468
     STAGE2SCRIPT: ci-windows-deploy.bat
469 470
  tags: 
    - VS2015
471
    - Qt5101
472
  dependencies:
473
    - VS2015-Qt-5.10.1-x64
474
  needs: [VS2015-Qt-5.10.1-x64]
475 476 477 478
  artifacts:
    paths:
      - rel/*.exe

479
Deploy:VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
480
  stage: Deploy
481 482 483 484 485 486 487 488 489 490 491 492
  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
493
    - Qt5101
494 495
  dependencies:
    - VS2017-Qt-5.10.1
496
  needs: [VS2017-Qt-5.10.1]
497
  artifacts:
498 499 500
    paths:
      - rel/*.exe

Jan Möbius's avatar
Jan Möbius committed
501
Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
502
  stage: Build
503 504 505 506 507
  script: "CI/ci-mac-build.sh"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
508
    - qt5113
509
  artifacts:
510
    expire_in: 1 week
511
    paths:
512
      - artifacts
513 514

Test:Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
515
  stage: Test
516
  script: "artifacts/CI/ci-mac-test.sh"
517
  variables:
518
     GIT_STRATEGY: none
519 520
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
521
    - qt5113
522 523
  dependencies:
    - Mac-Cpp11
524
  needs: [Mac-Cpp11]
525 526
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
527
      - build-release/Testing/Temporary/LastTest.log
528 529

Deploy:Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
530
  stage: Deploy
531 532
  only:
    - master
533
    - unstable
534
  script: "artifacts/CI/ci-mac-deploy.sh"
Jan Möbius's avatar
Jan Möbius committed
535
  variables:
536
     GIT_STRATEGY: none
Jan Möbius's avatar
Jan Möbius committed
537 538
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
539
    - qt5113
540 541
  dependencies:
    - Mac-Cpp11
542
  needs: [Mac-Cpp11]
Jan Möbius's avatar
Jan Möbius committed
543 544
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
545
      - build-release/*.dmg
Jan Möbius's avatar
Jan Möbius committed
546 547

Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
548
  stage: Deploy 
Jan Möbius's avatar
Jan Möbius committed
549 550
  only:
     - master
551
     - unstable
Jan Möbius's avatar
Jan Möbius committed
552
  script: "CI/ci-doc.sh"
Jan Möbius's avatar
Jan Möbius committed
553 554
  tags:
     - Linux
555
     - stretch
556
  dependencies: []
Jan Möbius's avatar
Jan Möbius committed
557 558
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
Jan Möbius's avatar
Jan Möbius committed
559 560
  artifacts:
    paths:
561 562
       - build-release/Doxygen-warning.log 
       - build-release/Doxygen-error.log
Jan Möbius's avatar
Jan Möbius committed
563

564
Sources:
Jan Möbius's avatar
Jan Möbius committed
565
  stage: Deploy
566 567 568 569 570 571
  only:
     - master
  script: "CI/ci-source.sh"
  tags:
     - Linux
     - stretch
572
  dependencies: []
Jan Möbius's avatar
Jan Möbius committed
573 574
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
575 576 577 578 579
  artifacts:
    paths:
      - OpenFlipper*.zip
      - OpenFlipper*.tar.bz2
      - OpenFlipper*.tar.gz
Jan Möbius's avatar
Jan Möbius committed
580 581 582