.gitlab-ci.yml 9.3 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:
10 11
  stage:
    Build
12 13 14 15
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5"     
Jan Möbius's avatar
Jan Möbius committed
16
    GIT_SUBMODULE_STRATEGY: recursive
17
  script: "CI/ci-linux-build.sh"
Jan Möbius's avatar
Jan Möbius committed
18 19
  tags:
    - Linux
20
  artifacts:
21
    expire_in: 1 week
22
    paths:
23
       - artifacts
Jan Möbius's avatar
Jan Möbius committed
24

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

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

58
clang-c++11-Qt5.9.0:
59 60
  stage:
    Build
61 62 63 64 65
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5.9.0"     
    GIT_SUBMODULE_STRATEGY: recursive
66
  script: "CI/ci-linux-build.sh"
67 68 69
  tags:
    - Linux
    - MultiThreads
70
  artifacts:
71
    expire_in: 1 week
72
    paths:
73
       - artifacts
74 75 76 77 78 79 80 81

test-gcc-c++11-Qt5:
  stage:
    Test
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5"     
82 83
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
84 85 86 87 88 89 90
  tags:
    - Linux
  dependencies:
    - gcc-c++11-Qt5
  artifacts:
    paths:
       - build-release-gcc-cpp11-qt5/Testing/Temporary/LastTest.log
91

92 93 94 95 96 97 98
test-gcc-c++11-Qt5.9.0:
  stage:
    Test
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5.9.0"     
99 100
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
  tags:
    - Linux
  dependencies:
    - gcc-c++11-Qt5.9.0
  artifacts:
    paths:
       - build-release-gcc-cpp11-qt5.9.0/Testing/Temporary/LastTest.log

test-clang-c++11-Qt5:
  stage:
    Test
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5"     
116 117
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
  tags:
    - Linux
    - MultiThreads
  dependencies:
    - clang-c++11-Qt5
  artifacts:
    paths:
       - build-release-clang-cpp11-qt5/Testing/Temporary/LastTest.log

test-clang-c++11-Qt5.9.0:
  stage:
    Test
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5.9.0"     
134 135
    GIT_STRATEGY: none
  script: "artifacts/CI/ci-linux-test.sh"
136 137 138 139 140 141 142 143
  tags:
    - Linux
    - MultiThreads
  dependencies:
    - clang-c++11-Qt5.9.0
  artifacts:
    paths:
       - build-release-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
144

145
cppcheck:
146 147
  stage:
    Test
148
  script: "artifacts/CI/ci-cppcheck.sh"
Jan Möbius's avatar
Jan Möbius committed
149 150
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
151 152 153
  tags:
    - Linux
    - MultiThreads
154
  dependencies:
155
    - gcc-c++11-Qt5
156 157 158
  artifacts:
    paths:
      - cppcheck.log
Jan Möbius's avatar
Jan Möbius committed
159

160
VS2015-Qt-5.6.2-x64:
161 162 163
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
164 165
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
166 167 168
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.6.2"
     COMPILER: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
169 170 171 172
  tags: 
    - VS2015
    - Qt56
  artifacts:
173
    expire_in: 1 week
Jan Möbius's avatar
Jan Möbius committed
174
    paths:
175
      - artifacts
176

177
VS2015-Qt-5.6.2-x32:
178 179 180
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
181 182
  variables:
    GIT_SUBMODULE_STRATEGY: recursive
183 184 185
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.6.2"
    COMPILER: "VS2015"
186 187 188 189
  tags: 
    - VS2015
    - Qt56
  artifacts:
190
    expire_in: 1 week
191
    paths:
192
      - artifacts
193

194
VS2015-Qt-5.9.0-x64:
195 196 197
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
198 199 200 201 202 203 204 205
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.9.0"
     COMPILER: "VS2015"
  tags: 
    - VS2015
  artifacts:
206
    expire_in: 1 week
207
    paths:
208
      - artifacts
209 210

VS2015-Qt-5.9.0-x32:
211 212 213
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
214 215 216 217 218 219 220 221
  variables:
    GIT_SUBMODULE_STRATEGY: recursive
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.9.0"
    COMPILER: "VS2015"
  tags: 
    - VS2015
  artifacts:
222
    expire_in: 1 week
223
    paths:
224
      - artifacts
225 226

VS2013-Qt-5.5.1-x64:
227 228 229
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
230 231
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
232
     ARCHITECTURE: "x64"
233 234
     QT_VERSION: "Qt5.5.1"
     COMPILER: "VS2013"
235 236 237 238
  tags:
    - VS2013
    - Qt551
  artifacts:
239
    expire_in: 1 week
240
    paths:
241 242
      - artifacts

243 244 245
Test:VS2015-Qt-5.6.2-x64:
  stage:
    Test
246
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
247
  variables:
248
     GIT_STRATEGY: none
249 250 251
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.6.2"
     COMPILER: "VS2015"
252
     STAGE2SCRIPT: ci-windows-test.bat
253 254 255 256 257 258 259 260 261 262 263 264
  tags: 
    - VS2015
    - Qt56
  dependencies:
    - VS2015-Qt-5.6.2-x64
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Test:VS2015-Qt-5.6.2-x32:
  stage:
    Test
265
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
266
  variables:
267
    GIT_STRATEGY: none
268 269 270
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.6.2"
    COMPILER: "VS2015"
271
    STAGE2SCRIPT: ci-windows-test.bat
272 273 274 275 276 277 278 279 280 281 282 283
  tags: 
    - VS2015
    - Qt56
  dependencies:
    - VS2015-Qt-5.6.2-x32
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Test:VS2015-Qt-5.9.0-x64:
  stage:
    Test
284
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
285
  variables:
286
     GIT_STRATEGY: none
287 288 289
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.9.0"
     COMPILER: "VS2015"
290
     STAGE2SCRIPT: ci-windows-test.bat
291 292 293 294 295 296 297 298 299 300 301
  tags: 
    - VS2015
  dependencies:
    - VS2015-Qt-5.9.0-x64
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Test:VS2015-Qt-5.9.0-x32:
  stage:
    Test
302
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
303
  variables:
304
    GIT_STRATEGY: none
305 306 307
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.9.0"
    COMPILER: "VS2015"
308
    STAGE2SCRIPT: ci-windows-test.bat
309 310 311 312 313 314 315 316 317 318 319
  tags: 
    - VS2015
  dependencies:
    - VS2015-Qt-5.9.0-x32
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log

Test:VS2013-Qt-5.5.1-x64:
  stage:
    Test
320
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
321
  variables:
322
     GIT_STRATEGY: none
323 324 325
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.5.1"
     COMPILER: "VS2013"
326
     STAGE2SCRIPT: ci-windows-test.bat
327 328 329 330 331 332 333 334
  tags:
    - VS2013
    - Qt551
  dependencies:
    - VS2013-Qt-5.5.1-x64
  artifacts:
    paths:
      - rel/Testing/Temporary/LastTest.log
Jan Möbius's avatar
Jan Möbius committed
335

336 337 338 339 340 341
Deploy:VS2015-Qt-5.6.2-x64:
  stage:
    Deploy
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
342
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
343
  variables:
344
     GIT_STRATEGY: none
345 346 347
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.6.2"
     COMPILER: "VS2015"
Martin Schultz's avatar
Martin Schultz committed
348
     STAGE2SCRIPT: ci-windows-deploy.bat
349 350 351 352 353 354 355 356 357 358 359 360 361 362 363
  tags: 
    - VS2015
    - Qt56
  dependencies:
    - VS2015-Qt-5.6.2-x64
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2015-Qt-5.6.2-x32:
  stage:
    Deploy
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
364
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
365
  variables:
366
    GIT_STRATEGY: none
367 368 369
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.6.2"
    COMPILER: "VS2015"
Martin Schultz's avatar
Martin Schultz committed
370
    STAGE2SCRIPT: ci-windows-deploy.bat
371 372 373 374 375 376 377 378 379 380 381 382 383 384 385
  tags: 
    - VS2015
    - Qt56
  dependencies:
    - VS2015-Qt-5.6.2-x32
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2015-Qt-5.9.0-x64:
  stage:
    Deploy
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
386
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
387
  variables:
388
     GIT_STRATEGY: none
389 390 391
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.9.0"
     COMPILER: "VS2015"
Martin Schultz's avatar
Martin Schultz committed
392
     STAGE2SCRIPT: ci-windows-deploy.bat
393 394 395 396 397 398 399 400 401 402 403 404 405 406
  tags: 
    - VS2015
  dependencies:
    - VS2015-Qt-5.9.0-x64
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2015-Qt-5.9.0-x32:
  stage:
    Deploy
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
407
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
408
  variables:
409
    GIT_STRATEGY: none
410 411 412
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.9.0"
    COMPILER: "VS2015"
Martin Schultz's avatar
Martin Schultz committed
413
    STAGE2SCRIPT: ci-windows-deploy.bat
414 415 416 417 418 419 420 421 422 423 424 425 426 427
  tags: 
    - VS2015
  dependencies:
    - VS2015-Qt-5.9.0-x32
  artifacts:
    paths:
      - rel/*.exe

Deploy:VS2013-Qt-5.5.1-x64:
  stage:
    Deploy
  only:
    - master
    - unstable
Martin Schultz's avatar
Martin Schultz committed
428
  script: "artifacts\\CI\\ci-windows-bootstrap.bat"
429
  variables:
430
     GIT_STRATEGY: none
431 432 433
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.5.1"
     COMPILER: "VS2013"
Martin Schultz's avatar
Martin Schultz committed
434
     STAGE2SCRIPT: ci-windows-deploy.bat
435 436 437 438 439 440 441 442 443
  tags:
    - VS2013
    - Qt551
  dependencies:
    - VS2013-Qt-5.5.1-x64
  artifacts:
    paths:
      - rel/*.exe

Jan Möbius's avatar
typo  
Jan Möbius committed
444
Mac-Cpp11:
445 446 447 448 449 450 451 452
  stage:
    Build
  script: "CI/ci-mac-build.sh"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
  tags:
    - Apple
  artifacts:
453
    expire_in: 1 week
454
    paths:
455
      - artifacts
456 457 458 459

Test:Mac-Cpp11:
  stage:
    Test
460
  script: "artifacts/CI/ci-mac-test.sh"
461
  variables:
462
     GIT_STRATEGY: none
463 464 465 466 467 468 469 470 471 472 473 474 475
  tags:
    - Apple
  dependencies:
    - Mac-Cpp11
  artifacts:
    paths:
      - build-release/Testing/Temporary/LastTest.log

Deploy:Mac-Cpp11:
  stage:
    Deploy
  only:
    - master
476
    - unstable
477
  script: "artifacts/CI/ci-mac-deploy.sh"
Jan Möbius's avatar
Jan Möbius committed
478
  variables:
479
     GIT_STRATEGY: none
Jan Möbius's avatar
Jan Möbius committed
480 481
  tags:
    - Apple
482 483
  dependencies:
    - Mac-Cpp11
Jan Möbius's avatar
Jan Möbius committed
484 485
  artifacts:
    paths:
Jan Möbius's avatar
typo  
Jan Möbius committed
486
      - build-release/*.dmg
Jan Möbius's avatar
Jan Möbius committed
487 488

Doc-publish:
489 490
  stage:
     Deploy 
Jan Möbius's avatar
Jan Möbius committed
491 492
  only:
     - master
493
     - unstable
Jan Möbius's avatar
Jan Möbius committed
494
  script: "CI/ci-doc.sh"
Jan Möbius's avatar
Jan Möbius committed
495 496
  tags:
     - Linux
Jan Möbius's avatar
Jan Möbius committed
497 498
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
499
  dependencies:
Jan Möbius's avatar
Jan Möbius committed
500 501 502 503 504 505 506 507
  artifacts:
    paths:
       - build-release/Doxygen-warning.log 
       - build-release/Doxygen-error.log