.gitlab-ci.yml 11 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 41 42 43 44 45 46
       
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:
47 48 49 50 51 52 53 54
  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
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
  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"
72 73 74 75 76 77 78
  tags:
    - Linux
    - stretch
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
79
       
Jan Möbius's avatar
Jan Möbius committed
80
test-gcc-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
81 82 83 84
  stage: Test
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
Jan Möbius's avatar
Jan Möbius committed
85
    QTVERSION:      "QT5.11.2"     
Jan Möbius's avatar
Jan Möbius committed
86 87 88 89
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
90
    - stretch
Jan Möbius's avatar
Jan Möbius committed
91
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
92
    - gcc-c++11-Qt5.11.2
Jan Möbius's avatar
Jan Möbius committed
93 94
  artifacts:
    paths:
Jan Möbius's avatar
Jan Möbius committed
95 96
       - build-Release-gcc-cpp11-qt5/Testing/Temporary/LastTest.log  
       
Jan Möbius's avatar
Jan Möbius committed
97
       
Jan Möbius's avatar
Jan Möbius committed
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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