.gitlab-ci.yml 9.7 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:
Jan Möbius's avatar
Jan Möbius committed
10
  stage: Build
11 12 13 14
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5"     
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
  artifacts:
20
    expire_in: 1 week
21
    paths:
22
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
23

24
gcc-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
25
  stage: Build
26 27 28 29 30
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5.9.0"     
    GIT_SUBMODULE_STRATEGY: recursive
31
  script: "CI/ci-linux-build.sh"
32 33
  tags:
    - Linux
34
  artifacts:
35
    expire_in: 1 week
36
    paths:
37
       - artifacts
38

39
debug-gcc-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
40
  stage: Build
41 42 43 44 45 46 47 48 49 50 51 52 53 54
  variables:
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts

Jan Möbius's avatar
Jan Möbius committed
55
clang-c++11-Qt5:
Jan Möbius's avatar
Jan Möbius committed
56
  stage: Build
57 58 59 60
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5"     
Jan Möbius's avatar
Jan Möbius committed
61
    GIT_SUBMODULE_STRATEGY: recursive
62
  script: "CI/ci-linux-build.sh"
Jan Möbius's avatar
Jan Möbius committed
63 64
  tags:
    - Linux
65
    - MultiThreads
66
  artifacts:
67
    expire_in: 1 week
68
    paths:
69
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
70

71
clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
72
  stage: Build
73 74 75 76 77
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5.9.0"     
    GIT_SUBMODULE_STRATEGY: recursive
78
  script: "CI/ci-linux-build.sh"
79 80 81
  tags:
    - Linux
    - MultiThreads
82
  artifacts:
83
    expire_in: 1 week
84
    paths:
85
       - artifacts
86

87
debug-clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
88
  stage: Build
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
  variables:
    COMPILER:       "clang"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
    - MultiThreads
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts

104
test-gcc-c++11-Qt5:
Jan Möbius's avatar
Jan Möbius committed
105
  stage: Test
106 107 108 109
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5"     
110 111
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
112 113 114 115 116 117
  tags:
    - Linux
  dependencies:
    - gcc-c++11-Qt5
  artifacts:
    paths:
118
       - build-Release-gcc-cpp11-qt5/Testing/Temporary/LastTest.log
119

120
test-gcc-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
121
  stage: Test
122 123 124 125
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5.9.0"     
126 127
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
128 129 130 131 132 133
  tags:
    - Linux
  dependencies:
    - gcc-c++11-Qt5.9.0
  artifacts:
    paths:
134
       - build-Release-gcc-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
135

136
debug-test-gcc-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
137
  stage: Test
138 139 140 141 142 143 144 145 146 147
  variables:
    COMPILER:       "gcc"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
  dependencies:
148
    - debug-gcc-c++11-Qt5.9.0
149 150
  artifacts:
    paths:
151
       - build-Debug-gcc-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
152

153
test-clang-c++11-Qt5:
Jan Möbius's avatar
Jan Möbius committed
154
  stage: Test
155 156 157 158
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5"     
159 160
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
161 162 163 164 165 166 167
  tags:
    - Linux
    - MultiThreads
  dependencies:
    - clang-c++11-Qt5
  artifacts:
    paths:
168
       - build-Release-clang-cpp11-qt5/Testing/Temporary/LastTest.log
169 170

test-clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
171
  stage: Test
172 173 174 175
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5.9.0"     
176 177
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
178 179 180 181 182 183 184
  tags:
    - Linux
    - MultiThreads
  dependencies:
    - clang-c++11-Qt5.9.0
  artifacts:
    paths:
185
       - build-Release-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
186

187
debug-test-clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
188
  stage: Test
189 190 191 192 193 194 195 196 197 198 199
  variables:
    COMPILER:       "clang"
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
  tags:
    - Linux
    - MultiThreads
  dependencies:
200
    - debug-clang-c++11-Qt5.9.0
201 202
  artifacts:
    paths:
203
       - build-Debug-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
204

205
cppcheck:
Jan Möbius's avatar
Jan Möbius committed
206
  stage: Test
207
  script: "artifacts/CI/ci-cppcheck.sh"
Jan Möbius's avatar
Jan Möbius committed
208 209
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
210 211 212
  tags:
    - Linux
    - MultiThreads
213
  dependencies:
214
    - gcc-c++11-Qt5
215 216 217
  artifacts:
    paths:
      - cppcheck.log
Jan Möbius's avatar
Jan Möbius committed
218

Jan Möbius's avatar
Jan Möbius committed
219
VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
220
  stage: Build
221
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
222 223
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
224
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
225
     QT_VERSION: "Qt5.10.1"
226
     COMPILER: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
227 228
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
229
    - Qt5101
230
  artifacts:
231
    expire_in: 1 week
232
    paths:
233
      - artifacts
234

Jan Möbius's avatar
Jan Möbius committed
235
VS2015-Qt-5.10.1-x32:
Jan Möbius's avatar
Jan Möbius committed
236
  stage: Build
237
  script: "CI\\ci-windows-build.bat"
238 239 240
  variables:
    GIT_SUBMODULE_STRATEGY: recursive
    ARCHITECTURE: "x32"
Jan Möbius's avatar
Jan Möbius committed
241
    QT_VERSION: "Qt5.10.1"
242 243 244
    COMPILER: "VS2015"
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
245
    - Qt5101
246
  artifacts:
247
    expire_in: 1 week
248
    paths:
249
      - artifacts
250 251
      
VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
252
  stage: Build
253 254 255 256 257 258 259 260
  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
261
    - Qt5101
262 263 264 265 266
  artifacts:
    expire_in: 1 week
    paths:
      - artifacts
      
Jan Möbius's avatar
Jan Möbius committed
267
VS2013-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
268
  stage: Build
269
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
270 271
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
272
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
273
     QT_VERSION: "Qt5.10.1"
274
     COMPILER: "VS2013"
275 276
  tags:
    - VS2013
Jan Möbius's avatar
Jan Möbius committed
277
    - Qt5101
278
  artifacts:
279
    expire_in: 1 week
280
    paths:
281 282
      - artifacts

Jan Möbius's avatar
Jan Möbius committed
283
Test:VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
284
  stage: Test
285
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
286
  variables:
287
     GIT_STRATEGY: none
288
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
289
     QT_VERSION: "Qt5.10.1"
290
     COMPILER: "VS2015"
291
     STAGE2SCRIPT: ci-windows-test.bat
292 293
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
294
    - Qt5101
295
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
296
    - VS2015-Qt-5.10.1-x64
297 298 299 300
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Jan Möbius's avatar
Jan Möbius committed
301
Test:VS2015-Qt-5.10.1-x32:
Jan Möbius's avatar
Jan Möbius committed
302
  stage: Test
303
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
304
  variables:
305
    GIT_STRATEGY: none
306
    ARCHITECTURE: "x32"
Jan Möbius's avatar
Jan Möbius committed
307
    QT_VERSION: "Qt5.10.1"
308
    COMPILER: "VS2015"
309
    STAGE2SCRIPT: ci-windows-test.bat
310 311
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
312
    - Qt5101
313
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
314
    - VS2015-Qt-5.10.1-x32
315 316 317 318
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

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

Jan Möbius's avatar
Jan Möbius committed
355
Deploy:VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
356
  stage: Deploy
357 358 359
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
360
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
361
  variables:
362
     GIT_STRATEGY: none
363
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
364
     QT_VERSION: "Qt5.10.1"
365
     COMPILER: "VS2015"
Martin Schultz's avatar
Martin Schultz committed
366
     STAGE2SCRIPT: ci-windows-deploy.bat
367 368
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
369
    - Qt5101
370
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
371
    - VS2015-Qt-5.10.1-x64
372 373 374 375
  artifacts:
    paths:
      - rel/*.exe

Jan Möbius's avatar
Jan Möbius committed
376
Deploy:VS2015-Qt-5.10.1-x32:
Jan Möbius's avatar
Jan Möbius committed
377
  stage: Deploy
378 379 380
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
381
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
382
  variables:
383
    GIT_STRATEGY: none
384
    ARCHITECTURE: "x32"
Jan Möbius's avatar
Jan Möbius committed
385
    QT_VERSION: "Qt5.10.1"
386
    COMPILER: "VS2015"
Martin Schultz's avatar
Martin Schultz committed
387
    STAGE2SCRIPT: ci-windows-deploy.bat
388 389
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
390
    - Qt5101
391
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
392
    - VS2015-Qt-5.10.1-x32
393 394 395 396
  artifacts:
    paths:
      - rel/*.exe

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

Jan Möbius's avatar
Jan Möbius committed
418
Deploy:VS2013-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
419
  stage: Deploy
420 421 422
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
423
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
424
  variables:
425
     GIT_STRATEGY: none
426
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
427
     QT_VERSION: "Qt5.10.1"
428
     COMPILER: "VS2013"
Martin Schultz's avatar
Martin Schultz committed
429
     STAGE2SCRIPT: ci-windows-deploy.bat
430 431
  tags:
    - VS2013
Jan Möbius's avatar
Jan Möbius committed
432
    - Qt5101
433
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
434
    - VS2013-Qt-5.10.1-x64
435 436 437 438
  artifacts:
    paths:
      - rel/*.exe

Jan Möbius's avatar
typo  
Jan Möbius committed
439
Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
440
  stage: Build
441 442 443 444 445 446
  script: "CI/ci-mac-build.sh"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
  tags:
    - Apple
  artifacts:
447
    expire_in: 1 week
448
    paths:
449
      - artifacts
450 451

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

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

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