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

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

Jan Möbius's avatar
Jan Möbius committed
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
clang-c++11-Qt5:
  stage: Build
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5"     
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
  tags:
    - Linux
    - MultiThreads
  artifacts:
    expire_in: 1 week
    paths:
       - artifacts

clang-c++11-Qt5.9.0:
  stage: Build
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
199
    QTVERSION:      "QT5.9.0"     
Jan Möbius's avatar
Jan Möbius committed
200 201
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
202 203
  tags:
    - Linux
Jan Möbius's avatar
Jan Möbius committed
204
    - MultiThreads
205
  artifacts:
Jan Möbius's avatar
Jan Möbius committed
206
    expire_in: 1 week
207
    paths:
Jan Möbius's avatar
Jan Möbius committed
208
       - artifacts
209

Jan Möbius's avatar
Jan Möbius committed
210 211
debug-clang-c++11-Qt5.9.0:
  stage: Build
212
  variables:
Jan Möbius's avatar
Jan Möbius committed
213
    COMPILER:       "clang"
214 215 216
    LANGUAGE:       "C++11"
    QTVERSION:      "QT5.9.0"
    BUILDTYPE:      "Debug"
Jan Möbius's avatar
Jan Möbius committed
217 218
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
219 220
  tags:
    - Linux
Jan Möbius's avatar
Jan Möbius committed
221
    - MultiThreads
222
  artifacts:
Jan Möbius's avatar
Jan Möbius committed
223
    expire_in: 1 week
224
    paths:
Jan Möbius's avatar
Jan Möbius committed
225
       - artifacts
226

227
test-clang-c++11-Qt5:
Jan Möbius's avatar
Jan Möbius committed
228
  stage: Test
229 230 231 232
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5"     
233 234
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
235 236 237 238 239 240 241
  tags:
    - Linux
    - MultiThreads
  dependencies:
    - clang-c++11-Qt5
  artifacts:
    paths:
242
       - build-Release-clang-cpp11-qt5/Testing/Temporary/LastTest.log
243 244

test-clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
245
  stage: Test
246 247 248 249
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5.9.0"     
250 251
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
252 253 254 255 256 257 258
  tags:
    - Linux
    - MultiThreads
  dependencies:
    - clang-c++11-Qt5.9.0
  artifacts:
    paths:
259
       - build-Release-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
260

261
debug-test-clang-c++11-Qt5.9.0:
Jan Möbius's avatar
Jan Möbius committed
262
  stage: Test
263 264 265 266 267 268 269 270 271 272 273
  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:
274
    - debug-clang-c++11-Qt5.9.0
275 276
  artifacts:
    paths:
277
       - build-Debug-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
278

279
cppcheck:
Jan Möbius's avatar
Jan Möbius committed
280
  stage: Test
281
  script: "artifacts/CI/ci-cppcheck.sh"
Jan Möbius's avatar
Jan Möbius committed
282 283
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
284 285 286
  tags:
    - Linux
    - MultiThreads
287
  dependencies:
288
    - gcc-c++11-Qt5
289 290 291
  artifacts:
    paths:
      - cppcheck.log
Jan Möbius's avatar
Jan Möbius committed
292

Jan Möbius's avatar
Jan Möbius committed
293
VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
294
  stage: Build
295
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
296 297
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
298
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
299
     QT_VERSION: "Qt5.10.1"
300
     COMPILER: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
301 302
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
303
    - Qt5101
304
  artifacts:
305
    expire_in: 1 week
306
    paths:
307
      - artifacts
308

309
VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
310
  stage: Build
311 312 313 314 315 316 317 318
  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
319
    - Qt5101
320 321 322 323 324
  artifacts:
    expire_in: 1 week
    paths:
      - artifacts
      
Jan Möbius's avatar
Jan Möbius committed
325
Test:VS2015-Qt-5.10.1-x64:
Jan Möbius's avatar
Jan Möbius committed
326
  stage: Test
327
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
328
  variables:
329
     GIT_STRATEGY: none
330
     ARCHITECTURE: "x64"
Jan Möbius's avatar
Jan Möbius committed
331
     QT_VERSION: "Qt5.10.1"
332
     COMPILER: "VS2015"
333
     STAGE2SCRIPT: ci-windows-test.bat
334 335
  tags: 
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
336
    - Qt5101
337
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
338
    - VS2015-Qt-5.10.1-x64
339 340 341 342
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

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

382
Deploy:VS2017-Qt-5.10.1:
Jan Möbius's avatar
Jan Möbius committed
383
  stage: Deploy
384 385 386 387 388 389 390 391 392 393 394 395
  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
396
    - Qt5101
397 398 399
  dependencies:
    - VS2017-Qt-5.10.1
  artifacts:
400 401 402
    paths:
      - rel/*.exe

Jan Möbius's avatar
typo  
Jan Möbius committed
403
Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
404
  stage: Build
405 406 407 408 409
  script: "CI/ci-mac-build.sh"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
410
    - qt5113
411
  artifacts:
412
    expire_in: 1 week
413
    paths:
414
      - artifacts
415 416

Test:Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
417
  stage: Test
418
  script: "artifacts/CI/ci-mac-test.sh"
419
  variables:
420
     GIT_STRATEGY: none
421 422
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
423
    - qt5113
424 425 426 427
  dependencies:
    - Mac-Cpp11
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
428
      - build-release/Testing/Temporary/LastTest.log
429 430

Deploy:Mac-Cpp11:
Jan Möbius's avatar
Jan Möbius committed
431
  stage: Deploy
432 433
  only:
    - master
434
    - unstable
435
  script: "artifacts/CI/ci-mac-deploy.sh"
Jan Möbius's avatar
Jan Möbius committed
436
  variables:
437
     GIT_STRATEGY: none
Jan Möbius's avatar
Jan Möbius committed
438 439
  tags:
    - Apple
Jan Möbius's avatar
Jan Möbius committed
440
    - qt5113
441 442
  dependencies:
    - Mac-Cpp11
Jan Möbius's avatar
Jan Möbius committed
443 444
  artifacts:
    paths:
Martin Schultz's avatar
Martin Schultz committed
445
      - build-release/*.dmg
Jan Möbius's avatar
Jan Möbius committed
446 447

Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
448
  stage: Deploy 
Jan Möbius's avatar
Jan Möbius committed
449 450
  only:
     - master
451
     - unstable
Jan Möbius's avatar
Jan Möbius committed
452
  script: "CI/ci-doc.sh"
Jan Möbius's avatar
Jan Möbius committed
453 454
  tags:
     - Linux
455
  dependencies: []
Jan Möbius's avatar
Jan Möbius committed
456 457
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
Jan Möbius's avatar
Jan Möbius committed
458 459
  artifacts:
    paths:
460 461
       - build-release/Doxygen-warning.log 
       - build-release/Doxygen-error.log
Jan Möbius's avatar
Jan Möbius committed
462 463 464 465