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

174
clang-c++11-Qt5.11.2:
Jan Möbius's avatar
Jan Möbius committed
175 176 177 178
  stage: Build
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
179
    QTVERSION:      "QT5.11.2"     
Jan Möbius's avatar
Jan Möbius committed
180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
    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"   
195
    QTVERSION:      "QT5.9.0"     
Jan Möbius's avatar
Jan Möbius committed
196 197
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-build.sh"
198 199
  tags:
    - Linux
Jan Möbius's avatar
Jan Möbius committed
200
    - MultiThreads
201
  artifacts:
Jan Möbius's avatar
Jan Möbius committed
202
    expire_in: 1 week
203
    paths:
Jan Möbius's avatar
Jan Möbius committed
204
       - artifacts
205

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

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

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

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

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

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

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

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

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

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

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

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

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