.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:
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
    GIT_STRATEGY: none
Martin Schultz's avatar
Martin Schultz committed
83
  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
    GIT_STRATEGY: none
Martin Schultz's avatar
Martin Schultz committed
100
  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
    GIT_STRATEGY: none
Martin Schultz's avatar
Martin Schultz committed
117
  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
    GIT_STRATEGY: none
Martin Schultz's avatar
Martin Schultz committed
135
  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
Jan Möbius's avatar
Jan Möbius committed
148
  script: "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 156 157
  artifacts:
    paths:
      - cppcheck.log
Jan Möbius's avatar
Jan Möbius committed
158

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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