.gitlab-ci.yml 9.89 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.11.2:
Jan Möbius's avatar
Jan Möbius committed
10
  stage: Build
11 12 13
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
Jan Möbius's avatar
Jan Möbius committed
14
    QTVERSION:      "QT5.11.2"     
Jan Möbius's avatar
Jan Möbius committed
15
    GIT_SUBMODULE_STRATEGY: recursive
16
  script: "CI/ci-linux-build.sh"
Jan Möbius's avatar
Jan Möbius committed
17 18
  tags:
    - Linux
19
    - stretch
20
  artifacts:
21
    expire_in: 1 week
22
    paths:
23
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
24

25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
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



Jan Möbius's avatar
Jan Möbius committed
44
test-gcc-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
45 46 47 48
  stage: Test
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
Jan Möbius's avatar
Jan Möbius committed
49
    QTVERSION:      "QT5.11.2"     
Jan Möbius's avatar
Jan Möbius committed
50 51 52 53
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
54
    - stretch
Jan Möbius's avatar
Jan Möbius committed
55
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
56
    - gcc-c++11-Qt5.11.2
Jan Möbius's avatar
Jan Möbius committed
57 58 59 60
  artifacts:
    paths:
       - build-Release-gcc-cpp11-qt5/Testing/Temporary/LastTest.log
       
61
gcc-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
62
  stage: Build
63 64 65 66 67
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5.9.0"     
    GIT_SUBMODULE_STRATEGY: recursive
68
  script: "CI/ci-linux-build.sh"
69 70
  tags:
    - Linux
71
    - stretch
72
  artifacts:
73
    expire_in: 1 week
74
    paths:
75
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
76 77 78 79 80 81 82 83 84 85 86
  
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
87
    - stretch
Jan Möbius's avatar
Jan Möbius committed
88 89 90 91 92 93 94 95
  dependencies:
    - gcc-c++11-Qt5.9.0
  artifacts:
    paths:
       - build-Release-gcc-cpp11-qt5.9.0/Testing/Temporary/LastTest.log  
  
  
  
96
debug-gcc-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
97
  stage: Build
98 99 100 101 102 103 104 105 106
  variables:
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
107
    - stretch
108 109 110 111
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
112 113 114
       
debug-test-gcc-c++11-Qt5.9.0:
  stage: Test
115
  variables:
Jan Möbius's avatar
Jan Möbius committed
116 117 118 119 120 121
    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
122 123
  tags:
    - Linux
124
    - stretch
Jan Möbius's avatar
Jan Möbius committed
125 126
  dependencies:
    - debug-gcc-c++11-Qt5.9.0
127 128
  artifacts:
    paths:
Jan Möbius's avatar
Jan Möbius committed
129 130 131 132
       - 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
133
  stage: Build
Jan Möbius's avatar
Jan Möbius committed
134 135 136 137
  variables:     
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.11.2"
138
    GIT_SUBMODULE_STRATEGY: recursive
139
  script: "CI/ci-linux-build.sh"
140 141
  tags:
    - Linux
142
    - stretch
143
  artifacts:
144
    expire_in: 1 week
145
    paths:
146
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
147 148 149 150 151 152 153 154 155 156 157
  
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
158
    - stretch
Jan Möbius's avatar
Jan Möbius committed
159 160 161 162 163 164 165 166
  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
167
  stage: Build
168
  variables:
Jan Möbius's avatar
Jan Möbius committed
169
    COMPILER:       "gcc"
170
    LANGUAGE:       "C++11"
Jan Möbius's avatar
Jan Möbius committed
171
    QTVERSION:      "QT5.11.2"
172 173 174 175 176
    BUILDTYPE:      "Debug"
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
177
    - stretch
178 179 180 181
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
182 183
       
debug-test-gcc-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
184
  stage: Test
Jan Möbius's avatar
Jan Möbius committed
185 186 187 188 189
  variables:
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.11.2"
    BUILDTYPE:      "Debug"
190 191
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
192 193
  tags:
    - Linux
194
    - stretch
195
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
196
    - debug-gcc-c++11-Qt5.11.2
197 198
  artifacts:
    paths:
Jan Möbius's avatar
Jan Möbius committed
199 200 201
       - build-Debug-gcc-cpp11-qt5.11.2/Testing/Temporary/LastTest.log
       
  
202

203
clang-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
204 205 206 207
  stage: Build
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
208
    QTVERSION:      "QT5.11.2"     
Jan Möbius's avatar
Jan Möbius committed
209 210 211 212
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
213
    - stretch
Jan Möbius's avatar
Jan Möbius committed
214 215 216 217 218 219 220 221 222 223 224
    - MultiThreads
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts

clang-c++11-Qt5.9.0:
  stage: Build
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
225
    QTVERSION:      "QT5.9.0"     
Jan Möbius's avatar
Jan Möbius committed
226 227
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
228 229
  tags:
    - Linux
230
    - stretch
Jan Möbius's avatar
Jan Möbius committed
231
    - MultiThreads
232
  artifacts:
Jan Möbius's avatar
Jan Möbius committed
233
    expire_in: 1 week
234
    paths:
Jan Möbius's avatar
Jan Möbius committed
235
       - artifacts
236

Jan Möbius's avatar
Jan Möbius committed
237 238
debug-clang-c++11-Qt5.9.0:
  stage: Build
239
  variables:
Jan Möbius's avatar
Jan Möbius committed
240
    COMPILER:       "clang"
241 242 243
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
Jan Möbius's avatar
Jan Möbius committed
244 245
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
246 247
  tags:
    - Linux
248
    - stretch
Jan Möbius's avatar
Jan Möbius committed
249
    - MultiThreads
250
  artifacts:
Jan Möbius's avatar
Jan Möbius committed
251
    expire_in: 1 week
252
    paths:
Jan Möbius's avatar
Jan Möbius committed
253
       - artifacts
254

255
test-clang-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
256
  stage: Test
257 258 259
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
260
    QTVERSION:      "QT5.11.2"     
261 262
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
263 264
  tags:
    - Linux
265
    - stretch
266 267
    - MultiThreads
  dependencies:
268
    - clang-c++11-Qt5.11.2
269 270
  artifacts:
    paths:
271
       - build-Release-clang-cpp11-qt5/Testing/Temporary/LastTest.log
272 273

test-clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
274
  stage: Test
275 276 277 278
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5.9.0"     
279 280
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
281 282
  tags:
    - Linux
283
    - stretch
284 285 286 287 288
    - MultiThreads
  dependencies:
    - clang-c++11-Qt5.9.0
  artifacts:
    paths:
289
       - build-Release-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
290

291
debug-test-clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
292
  stage: Test
293 294 295 296 297 298 299 300 301
  variables:
    COMPILER:       "clang"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
302
    - stretch
303 304
    - MultiThreads
  dependencies:
305
    - debug-clang-c++11-Qt5.9.0
306 307
  artifacts:
    paths:
308
       - build-Debug-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
309

310
cppcheck:
311
  stage: Build
Jan Möbius's avatar
Jan Möbius committed
312
  script: "CI/ci-cppcheck.sh"
Jan Möbius's avatar
Jan Möbius committed
313 314
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
315 316
  tags:
    - Linux
317
    - stretch
318
    - MultiThreads
319 320 321
  artifacts:
    paths:
      - cppcheck.log
Jan Möbius's avatar
Jan Möbius committed
322

Jan Möbius's avatar
Jan Möbius committed
323
VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
324
  stage: Build
325
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
326 327
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
328
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
329
     QT_VERSION: "Qt5.10.1"
330
     COMPILER: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
331 332
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
333
    - Qt5101
334
  artifacts:
335
    expire_in: 1 week
336
    paths:
337
      - artifacts
338

339
VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
340
  stage: Build
341 342 343 344 345 346 347 348
  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
349
    - Qt5101
350 351 352 353 354
  artifacts:
    expire_in: 1 week
    paths:
      - artifacts
      
Jan Möbius's avatar
Jan Möbius committed
355
Test:VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
356
  stage: Test
357
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
358
  variables:
359
     GIT_STRATEGY: none
360
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
361
     QT_VERSION: "Qt5.10.1"
362
     COMPILER: "VS2015"
363
     STAGE2SCRIPT: ci-windows-test.bat
364 365
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
366
    - Qt5101
367
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
368
    - VS2015-Qt-5.10.1-x64
369 370 371 372
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

373
Test:VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
374
  stage: Test
375 376 377 378 379 380 381 382 383
  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
384
    - Qt5101
385 386 387 388 389 390
  dependencies:
    - VS2017-Qt-5.10.1
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log
      
Jan Möbius's avatar
Jan Möbius committed
391
Deploy:VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
392
  stage: Deploy
393 394 395
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
396
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
397
  variables:
398
     GIT_STRATEGY: none
399
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
400
     QT_VERSION: "Qt5.10.1"
401
     COMPILER: "VS2015"
Martin Schultz's avatar
Martin Schultz committed
402
     STAGE2SCRIPT: ci-windows-deploy.bat
403 404
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
405
    - Qt5101
406
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
407
    - VS2015-Qt-5.10.1-x64
408 409 410 411
  artifacts:
    paths:
      - rel/*.exe

412
Deploy:VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
413
  stage: Deploy
414 415 416 417 418 419 420 421 422 423 424 425
  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
426
    - Qt5101
427 428 429
  dependencies:
    - VS2017-Qt-5.10.1
  artifacts:
430 431 432
    paths:
      - rel/*.exe

Jan Möbius's avatar
typo  
Jan Möbius committed
433
Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
434
  stage: Build
435 436 437 438 439
  script: "CI/ci-mac-build.sh"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
440
    - qt5113
441
  artifacts:
442
    expire_in: 1 week
443
    paths:
444
      - artifacts
445 446

Test:Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
447
  stage: Test
448
  script: "artifacts/CI/ci-mac-test.sh"
449
  variables:
450
     GIT_STRATEGY: none
451 452
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
453
    - qt5113
454 455 456 457
  dependencies:
    - Mac-Cpp11
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
458
      - build-release/Testing/Temporary/LastTest.log
459 460

Deploy:Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
461
  stage: Deploy
462 463
  only:
    - master
464
    - unstable
465
  script: "artifacts/CI/ci-mac-deploy.sh"
Jan Möbius's avatar
Jan Möbius committed
466
  variables:
467
     GIT_STRATEGY: none
Jan Möbius's avatar
Jan Möbius committed
468 469
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
470
    - qt5113
471 472
  dependencies:
    - Mac-Cpp11
Jan Möbius's avatar
Jan Möbius committed
473 474
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
475
      - build-release/*.dmg
Jan Möbius's avatar
Jan Möbius committed
476 477

Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
478
  stage: Deploy 
Jan Möbius's avatar
Jan Möbius committed
479 480
  only:
     - master
481
     - unstable
Jan Möbius's avatar
Jan Möbius committed
482
  script: "CI/ci-doc.sh"
Jan Möbius's avatar
Jan Möbius committed
483 484
  tags:
     - Linux
485
     - stretch
486
  dependencies: []
Jan Möbius's avatar
Jan Möbius committed
487 488
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
Jan Möbius's avatar
Jan Möbius committed
489 490
  artifacts:
    paths:
491 492
       - build-release/Doxygen-warning.log 
       - build-release/Doxygen-error.log
Jan Möbius's avatar
Jan Möbius committed
493

494
Sources:
Jan Möbius's avatar
Jan Möbius committed
495
  stage: Deploy
496 497 498 499 500 501
  only:
     - master
  script: "CI/ci-source.sh"
  tags:
     - Linux
     - stretch
502
  dependencies: []
Jan Möbius's avatar
Jan Möbius committed
503 504
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
505 506 507 508 509
  artifacts:
    paths:
      - OpenFlipper*.zip
      - OpenFlipper*.tar.bz2
      - OpenFlipper*.tar.gz
Jan Möbius's avatar
Jan Möbius committed
510 511 512