.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:
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
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:
Martin Schultz's avatar
Martin Schultz committed
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:
Martin Schultz's avatar
Martin Schultz committed
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:
Martin Schultz's avatar
Martin Schultz committed
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:
Martin Schultz's avatar
Martin Schultz committed
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:
Martin Schultz's avatar
Martin Schultz committed
241
      - artifacts
242

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
  tags: 
    - VS2015
    - Qt56
  dependencies:
    - VS2015-Qt-5.6.2-x64
  artifacts:
    paths:
260
      - rel/Testing/Temporary/LastTest.log
261 262 263 264

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
  tags: 
    - VS2015
    - Qt56
  dependencies:
    - VS2015-Qt-5.6.2-x32
  artifacts:
    paths:
279
      - rel/Testing/Temporary/LastTest.log
280 281 282 283

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
  tags: 
    - VS2015
  dependencies:
    - VS2015-Qt-5.9.0-x64
  artifacts:
    paths:
297
      - rel/Testing/Temporary/LastTest.log
298 299 300 301

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
  tags: 
    - VS2015
  dependencies:
    - VS2015-Qt-5.9.0-x32
  artifacts:
    paths:
315
      - rel/Testing/Temporary/LastTest.log
316 317 318 319

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
  tags:
    - VS2013
    - Qt551
  dependencies:
    - VS2013-Qt-5.5.1-x64
  artifacts:
    paths:
334
      - 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: "CI\\ci-windows-deploy.bat"
343
  variables:
344
     GIT_STRATEGY: none
345 346 347 348 349 350 351 352 353 354
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.6.2"
     COMPILER: "VS2015"
  tags: 
    - VS2015
    - Qt56
  dependencies:
    - VS2015-Qt-5.6.2-x64
  artifacts:
    paths:
355
      - rel/*.exe
356 357 358 359 360 361 362

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

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

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

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

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

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

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

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