.gitlab-ci.yml 9.26 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:
292
  stage: Build
Jan Möbius's avatar
Jan Möbius committed
293
  script: "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 301 302
  artifacts:
    paths:
      - cppcheck.log
Jan Möbius's avatar
Jan Möbius committed
303

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

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

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

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

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

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

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

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