.gitlab-ci.yml 9.31 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

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

184
clang-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
185 186 187 188
  stage: Build
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
189
    QTVERSION:      "QT5.11.2"     
Jan Möbius's avatar
Jan Möbius committed
190 191 192 193
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
194
    - stretch
Jan Möbius's avatar
Jan Möbius committed
195 196 197 198 199 200 201 202 203 204 205
    - MultiThreads
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts

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

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

236
test-clang-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
237
  stage: Test
238 239 240
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
241
    QTVERSION:      "QT5.11.2"     
242 243
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
244 245
  tags:
    - Linux
246
    - stretch
247 248
    - MultiThreads
  dependencies:
249
    - clang-c++11-Qt5.11.2
250 251
  artifacts:
    paths:
252
       - build-Release-clang-cpp11-qt5/Testing/Temporary/LastTest.log
253 254

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

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

291
cppcheck:
Jan Möbius's avatar
Jan Möbius committed
292
  stage: Test
293
  script: "artifacts/CI/ci-cppcheck.sh"
Jan Möbius's avatar
Jan Möbius committed
294 295
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
296 297
  tags:
    - Linux
298
    - stretch
299
    - MultiThreads
300
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
301
    - gcc-c++11-Qt5.11.2
302 303 304
  artifacts:
    paths:
      - cppcheck.log
Jan Möbius's avatar
Jan Möbius committed
305

Jan Möbius's avatar
Jan Möbius committed
306
VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
307
  stage: Build
308
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
309 310
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
311
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
312
     QT_VERSION: "Qt5.10.1"
313
     COMPILER: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
314 315
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
316
    - Qt5101
317
  artifacts:
318
    expire_in: 1 week
319
    paths:
320
      - artifacts
321

322
VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
323
  stage: Build
324 325 326 327 328 329 330 331
  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
332
    - Qt5101
333 334 335 336 337
  artifacts:
    expire_in: 1 week
    paths:
      - artifacts
      
Jan Möbius's avatar
Jan Möbius committed
338
Test:VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
339
  stage: Test
340
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
341
  variables:
342
     GIT_STRATEGY: none
343
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
344
     QT_VERSION: "Qt5.10.1"
345
     COMPILER: "VS2015"
346
     STAGE2SCRIPT: ci-windows-test.bat
347 348
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
349
    - Qt5101
350
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
351
    - VS2015-Qt-5.10.1-x64
352 353 354 355
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

356
Test:VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
357
  stage: Test
358 359 360 361 362 363 364 365 366
  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
367
    - Qt5101
368 369 370 371 372 373
  dependencies:
    - VS2017-Qt-5.10.1
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log
      
Jan Möbius's avatar
Jan Möbius committed
374
Deploy:VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
375
  stage: Deploy
376 377 378
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
379
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
380
  variables:
381
     GIT_STRATEGY: none
382
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
383
     QT_VERSION: "Qt5.10.1"
384
     COMPILER: "VS2015"
Martin Schultz's avatar
Martin Schultz committed
385
     STAGE2SCRIPT: ci-windows-deploy.bat
386 387
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
388
    - Qt5101
389
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
390
    - VS2015-Qt-5.10.1-x64
391 392 393 394
  artifacts:
    paths:
      - rel/*.exe

395
Deploy:VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
396
  stage: Deploy
397 398 399 400 401 402 403 404 405 406 407 408
  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
409
    - Qt5101
410 411 412
  dependencies:
    - VS2017-Qt-5.10.1
  artifacts:
413 414 415
    paths:
      - rel/*.exe

Jan Möbius's avatar
typo  
Jan Möbius committed
416
Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
417
  stage: Build
418 419 420 421 422
  script: "CI/ci-mac-build.sh"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
423
    - qt5113
424
  artifacts:
425
    expire_in: 1 week
426
    paths:
427
      - artifacts
428 429

Test:Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
430
  stage: Test
431
  script: "artifacts/CI/ci-mac-test.sh"
432
  variables:
433
     GIT_STRATEGY: none
434 435
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
436
    - qt5113
437 438 439 440
  dependencies:
    - Mac-Cpp11
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
441
      - build-release/Testing/Temporary/LastTest.log
442 443

Deploy:Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
444
  stage: Deploy
445 446
  only:
    - master
447
    - unstable
448
  script: "artifacts/CI/ci-mac-deploy.sh"
Jan Möbius's avatar
Jan Möbius committed
449
  variables:
450
     GIT_STRATEGY: none
Jan Möbius's avatar
Jan Möbius committed
451 452
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
453
    - qt5113
454 455
  dependencies:
    - Mac-Cpp11
Jan Möbius's avatar
Jan Möbius committed
456 457
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
458
      - build-release/*.dmg
Jan Möbius's avatar
Jan Möbius committed
459 460

Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
461
  stage: Deploy 
Jan Möbius's avatar
Jan Möbius committed
462 463
  only:
     - master
464
     - unstable
Jan Möbius's avatar
Jan Möbius committed
465
  script: "CI/ci-doc.sh"
Jan Möbius's avatar
Jan Möbius committed
466 467
  tags:
     - Linux
468
     - stretch
469
  dependencies: []
Jan Möbius's avatar
Jan Möbius committed
470 471
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
Jan Möbius's avatar
Jan Möbius committed
472 473
  artifacts:
    paths:
474 475
       - build-release/Doxygen-warning.log 
       - build-release/Doxygen-error.log
Jan Möbius's avatar
Jan Möbius committed
476 477 478 479