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


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

257
clang-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
258 259 260 261
  stage: Build
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
262
    QTVERSION:      "QT5.11.2"     
Jan Möbius's avatar
Jan Möbius committed
263 264 265 266
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
267
    - stretch
Jan Möbius's avatar
Jan Möbius committed
268 269 270 271 272 273 274 275 276 277 278
    - MultiThreads
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts

clang-c++11-Qt5.9.0:
  stage: Build
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
279
    QTVERSION:      "QT5.9.0"     
Jan Möbius's avatar
Jan Möbius committed
280 281
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
282 283
  tags:
    - Linux
284
    - stretch
Jan Möbius's avatar
Jan Möbius committed
285
    - MultiThreads
286
  artifacts:
Jan Möbius's avatar
Jan Möbius committed
287
    expire_in: 1 week
288
    paths:
Jan Möbius's avatar
Jan Möbius committed
289
       - artifacts
290

Jan Möbius's avatar
Jan Möbius committed
291 292
debug-clang-c++11-Qt5.9.0:
  stage: Build
293
  variables:
Jan Möbius's avatar
Jan Möbius committed
294
    COMPILER:       "clang"
295 296 297
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
Jan Möbius's avatar
Jan Möbius committed
298 299
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
300 301
  tags:
    - Linux
302
    - stretch
Jan Möbius's avatar
Jan Möbius committed
303
    - MultiThreads
304
  artifacts:
Jan Möbius's avatar
Jan Möbius committed
305
    expire_in: 1 week
306
    paths:
Jan Möbius's avatar
Jan Möbius committed
307
       - artifacts
308

309
test-clang-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
310
  stage: Test
311 312 313
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
314
    QTVERSION:      "QT5.11.2"     
315 316
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
317 318
  tags:
    - Linux
319
    - stretch
320 321
    - MultiThreads
  dependencies:
322
    - clang-c++11-Qt5.11.2
323 324
  artifacts:
    paths:
325
       - build-Release-clang-cpp11-qt5/Testing/Temporary/LastTest.log
326 327

test-clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
328
  stage: Test
329 330 331 332
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5.9.0"     
333 334
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
335 336
  tags:
    - Linux
337
    - stretch
338 339 340 341 342
    - MultiThreads
  dependencies:
    - clang-c++11-Qt5.9.0
  artifacts:
    paths:
343
       - build-Release-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
344

345
debug-test-clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
346
  stage: Test
347 348 349 350 351 352 353 354 355
  variables:
    COMPILER:       "clang"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
356
    - stretch
357 358
    - MultiThreads
  dependencies:
359
    - debug-clang-c++11-Qt5.9.0
360 361
  artifacts:
    paths:
362
       - build-Debug-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
363

364
cppcheck:
365
  stage: Build
Jan Möbius's avatar
Jan Möbius committed
366
  script: "CI/ci-cppcheck.sh"
Jan Möbius's avatar
Jan Möbius committed
367 368
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
369 370
  tags:
    - Linux
371
    - stretch
372
    - MultiThreads
373 374 375
  artifacts:
    paths:
      - cppcheck.log
Jan Möbius's avatar
Jan Möbius committed
376

Jan Möbius's avatar
Jan Möbius committed
377
VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
378
  stage: Build
379
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
380 381
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
382
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
383
     QT_VERSION: "Qt5.10.1"
384
     COMPILER: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
385 386
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
387
    - Qt5101
388
  artifacts:
389
    expire_in: 1 week
390
    paths:
391
      - artifacts
392

393
VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
394
  stage: Build
395 396 397 398 399 400 401 402
  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
403
    - Qt5101
404 405 406 407 408
  artifacts:
    expire_in: 1 week
    paths:
      - artifacts
      
Jan Möbius's avatar
Jan Möbius committed
409
Test:VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
410
  stage: Test
411
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
412
  variables:
413
     GIT_STRATEGY: none
414
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
415
     QT_VERSION: "Qt5.10.1"
416
     COMPILER: "VS2015"
417
     STAGE2SCRIPT: ci-windows-test.bat
418 419
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
420
    - Qt5101
421
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
422
    - VS2015-Qt-5.10.1-x64
423 424 425 426
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

427
Test:VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
428
  stage: Test
429 430 431 432 433 434 435 436 437
  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
438
    - Qt5101
439 440 441 442 443 444
  dependencies:
    - VS2017-Qt-5.10.1
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log
      
Jan Möbius's avatar
Jan Möbius committed
445
Deploy:VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
446
  stage: Deploy
447 448 449
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
450
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
451
  variables:
452
     GIT_STRATEGY: none
453
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
454
     QT_VERSION: "Qt5.10.1"
455
     COMPILER: "VS2015"
Martin Schultz's avatar
Martin Schultz committed
456
     STAGE2SCRIPT: ci-windows-deploy.bat
457 458
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
459
    - Qt5101
460
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
461
    - VS2015-Qt-5.10.1-x64
462 463 464 465
  artifacts:
    paths:
      - rel/*.exe

466
Deploy:VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
467
  stage: Deploy
468 469 470 471 472 473 474 475 476 477 478 479
  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
480
    - Qt5101
481 482 483
  dependencies:
    - VS2017-Qt-5.10.1
  artifacts:
484 485 486
    paths:
      - rel/*.exe

Jan Möbius's avatar
typo  
Jan Möbius committed
487
Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
488
  stage: Build
489 490 491 492 493
  script: "CI/ci-mac-build.sh"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
494
    - qt5113
495
  artifacts:
496
    expire_in: 1 week
497
    paths:
498
      - artifacts
499 500

Test:Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
501
  stage: Test
502
  script: "artifacts/CI/ci-mac-test.sh"
503
  variables:
504
     GIT_STRATEGY: none
505 506
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
507
    - qt5113
508 509 510 511
  dependencies:
    - Mac-Cpp11
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
512
      - build-release/Testing/Temporary/LastTest.log
513 514

Deploy:Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
515
  stage: Deploy
516 517
  only:
    - master
518
    - unstable
519
  script: "artifacts/CI/ci-mac-deploy.sh"
Jan Möbius's avatar
Jan Möbius committed
520
  variables:
521
     GIT_STRATEGY: none
Jan Möbius's avatar
Jan Möbius committed
522 523
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
524
    - qt5113
525 526
  dependencies:
    - Mac-Cpp11
Jan Möbius's avatar
Jan Möbius committed
527 528
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
529
      - build-release/*.dmg
Jan Möbius's avatar
Jan Möbius committed
530 531

Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
532
  stage: Deploy 
Jan Möbius's avatar
Jan Möbius committed
533 534
  only:
     - master
535
     - unstable
Jan Möbius's avatar
Jan Möbius committed
536
  script: "CI/ci-doc.sh"
Jan Möbius's avatar
Jan Möbius committed
537 538
  tags:
     - Linux
539
     - stretch
540
  dependencies: []
Jan Möbius's avatar
Jan Möbius committed
541 542
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
Jan Möbius's avatar
Jan Möbius committed
543 544
  artifacts:
    paths:
545 546
       - build-release/Doxygen-warning.log 
       - build-release/Doxygen-error.log
Jan Möbius's avatar
Jan Möbius committed
547

548
Sources:
Jan Möbius's avatar
Jan Möbius committed
549
  stage: Deploy
550 551 552 553 554 555
  only:
     - master
  script: "CI/ci-source.sh"
  tags:
     - Linux
     - stretch
556
  dependencies: []
Jan Möbius's avatar
Jan Möbius committed
557 558
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
559 560 561 562 563
  artifacts:
    paths:
      - OpenFlipper*.zip
      - OpenFlipper*.tar.bz2
      - OpenFlipper*.tar.gz
Jan Möbius's avatar
Jan Möbius committed
564 565 566