.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
       
79
test-gcc-c++11-Qt5.11.2:
80 81 82 83
  stage: Test
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
84
    QTVERSION:      "QT5.11.2"     
85 86 87 88
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
89
    - stretch
90
  dependencies:
91
    - gcc-c++11-Qt5.11.2
92 93
  artifacts:
    paths:
Jan Möbius's avatar
Jan Möbius committed
94 95
       - build-Release-gcc-cpp11-qt5/Testing/Temporary/LastTest.log  
       
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.13.0:
Jan Möbius's avatar
Jan Möbius committed
116
  stage: Build
117 118 119
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
120
    QTVERSION:      "QT5.13.0"     
121
    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
130
  
131
test-gcc-c++11-Qt5.13.0:
132 133 134 135
  stage: Test
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
136
    QTVERSION:      "QT5.13.0"     
137 138 139 140
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
141
    - stretch
142
  dependencies:
143
    - gcc-c++11-Qt5.13.0
144 145
  artifacts:
    paths:
146
       - build-Release-gcc-cpp11-qt5.13.0/Testing/Temporary/LastTest.log  
147 148 149
  
  
  
150
debug-gcc-c++11-Qt5.13.0:
Jan Möbius's avatar
Jan Möbius committed
151
  stage: Build
152 153 154
  variables:
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
155
    QTVERSION:      "QT5.13.0"
156 157 158 159 160
    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
166
       
167
debug-test-gcc-c++11-Qt5.13.0:
168
  stage: Test
169
  variables:
170 171
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
172
    QTVERSION:      "QT5.13.0"
173 174 175
    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
179
  dependencies:
180
    - debug-gcc-c++11-Qt5.13.0
181 182
  artifacts:
    paths:
183
       - build-Debug-gcc-cpp11-qt5.13.0/Testing/Temporary/LastTest.log
184 185 186
       
       
gcc-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
187
  stage: Build
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
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
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:
223
    COMPILER:       "gcc"
224
    LANGUAGE:       "C++11"
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
236 237
       
debug-test-gcc-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
238
  stage: Test
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:
250
    - debug-gcc-c++11-Qt5.11.2
251 252
  artifacts:
    paths:
253 254 255
       - build-Debug-gcc-cpp11-qt5.11.2/Testing/Temporary/LastTest.log
       
  
256

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

274
clang-c++11-Qt5.13.0:
275 276 277 278
  stage: Build
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
279
    QTVERSION:      "QT5.13.0"     
280 281
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
282 283
  tags:
    - Linux
284
    - stretch
285
    - MultiThreads
286
  artifacts:
287
    expire_in: 1 week
288
    paths:
289
       - artifacts
290

291
debug-clang-c++11-Qt5.13.0:
292
  stage: Build
293
  variables:
294
    COMPILER:       "clang"
295
    LANGUAGE:       "C++11"
296
    QTVERSION:      "QT5.13.0"
297
    BUILDTYPE:      "Debug"
298 299
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
300 301
  tags:
    - Linux
302
    - stretch
303
    - MultiThreads
304
  artifacts:
305
    expire_in: 1 week
306
    paths:
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.13.0:
Jan Möbius's avatar
Jan Möbius committed
328
  stage: Test
329 330 331
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
332
    QTVERSION:      "QT5.13.0"     
333 334
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
335 336
  tags:
    - Linux
337
    - stretch
338 339
    - MultiThreads
  dependencies:
340
    - clang-c++11-Qt5.13.0
341 342
  artifacts:
    paths:
343
       - build-Release-clang-cpp11-qt5.13.0/Testing/Temporary/LastTest.log
344

345
debug-test-clang-c++11-Qt5.13.0:
Jan Möbius's avatar
Jan Möbius committed
346
  stage: Test
347 348 349
  variables:
    COMPILER:       "clang"
    LANGUAGE:       "C++11"
350
    QTVERSION:      "QT5.13.0"
351 352 353 354 355
    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.13.0
360 361
  artifacts:
    paths:
362
       - build-Debug-clang-cpp11-qt5.13.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

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"
383
     QT_VERSION: "Qt5.10.1"
384
     COMPILER: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
385 386
  tags: 
    - VS2015
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
      
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"
415
     QT_VERSION: "Qt5.10.1"
416
     COMPILER: "VS2015"
417
     STAGE2SCRIPT: ci-windows-test.bat
418 419
  tags: 
    - VS2015
420
    - Qt5101
421
  dependencies:
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
      
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
450
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
451
  variables:
452
     GIT_STRATEGY: none
453
     ARCHITECTURE: "x64"
454
     QT_VERSION: "Qt5.10.1"
455
     COMPILER: "VS2015"
456
     STAGE2SCRIPT: ci-windows-deploy.bat
457 458
  tags: 
    - VS2015
459
    - Qt5101
460
  dependencies:
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
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