.gitlab-ci.yml 6.95 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
21
22
  artifacts:
    paths:
       - build-release-gcc-cpp11-qt5/
Jan Möbius's avatar
Jan Möbius committed
23

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

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

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

test-gcc-c++11-Qt5:
  stage:
    Test
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5"     
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-test.sh"
  tags:
    - Linux
  dependencies:
    - gcc-c++11-Qt5
  artifacts:
    paths:
       - build-release-gcc-cpp11-qt5/Testing/Temporary/LastTest.log
87

88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
test-gcc-c++11-Qt5.9.0:
  stage:
    Test
  variables:     
    COMPILER:       "gcc"     
    LANGUAGE:       "C++11"     
    QTVERSION:      "QT5.9.0"     
    GIT_SUBMODULE_STRATEGY: recursive
  script: "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

test-clang-c++11-Qt5:
  stage:
    Test
  variables:
    COMPILER:       "clang"     
    LANGUAGE:       "C++11"   
    QTVERSION:      "QT5"     
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-test.sh"
  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"     
    GIT_SUBMODULE_STRATEGY: recursive
  script: "CI/ci-linux-test.sh"
  tags:
    - Linux
    - MultiThreads
  dependencies:
    - clang-c++11-Qt5.9.0
  artifacts:
    paths:
       - build-release-clang-cpp11-qt5.9.0/Testing/Temporary/LastTest.log
140

141
cppcheck:
142
143
  stage:
    Test
Jan Möbius's avatar
Jan Möbius committed
144
  script: "CI/ci-cppcheck.sh"
Jan Möbius's avatar
Jan Möbius committed
145
146
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
147
148
149
  tags:
    - Linux
    - MultiThreads
150
  dependencies:
151
152
153
  artifacts:
    paths:
      - cppcheck.log
Jan Möbius's avatar
Jan Möbius committed
154

155
VS2015-Qt-5.6.2-x64:
156
157
158
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
159
160
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
161
162
163
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.6.2"
     COMPILER: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
164
165
166
167
168
  tags: 
    - VS2015
    - Qt56
  artifacts:
    paths:
169
      - rel/
170

171
VS2015-Qt-5.6.2-x32:
172
173
174
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
175
176
  variables:
    GIT_SUBMODULE_STRATEGY: recursive
177
178
179
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.6.2"
    COMPILER: "VS2015"
180
181
182
183
184
  tags: 
    - VS2015
    - Qt56
  artifacts:
    paths:
185
      - rel/
186

187
VS2015-Qt-5.9.0-x64:
188
189
190
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
191
192
193
194
195
196
197
198
199
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.9.0"
     COMPILER: "VS2015"
  tags: 
    - VS2015
  artifacts:
    paths:
200
      - rel/
201
202

VS2015-Qt-5.9.0-x32:
203
204
205
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
206
207
208
209
210
211
212
213
214
  variables:
    GIT_SUBMODULE_STRATEGY: recursive
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.9.0"
    COMPILER: "VS2015"
  tags: 
    - VS2015
  artifacts:
    paths:
215
      - rel/
216
217

VS2013-Qt-5.5.1-x64:
218
219
220
  stage:
    Build
  script: "CI\\ci-windows-build.bat"
Jan Möbius's avatar
Jan Möbius committed
221
222
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
223
     ARCHITECTURE: "x64"
224
225
     QT_VERSION: "Qt5.5.1"
     COMPILER: "VS2013"
226
227
228
229
230
  tags:
    - VS2013
    - Qt551
  artifacts:
    paths:
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
      - rel/
Test:VS2015-Qt-5.6.2-x64:
  stage:
    Test
  script: "CI\\ci-windows-test.bat"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.6.2"
     COMPILER: "VS2015"
  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
  script: "CI\\ci-windows-test.bat"
  variables:
    GIT_SUBMODULE_STRATEGY: recursive
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.6.2"
    COMPILER: "VS2015"
  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
  script: "CI\\ci-windows-test.bat"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.9.0"
     COMPILER: "VS2015"
  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
  script: "CI\\ci-windows-test.bat"
  variables:
    GIT_SUBMODULE_STRATEGY: recursive
    ARCHITECTURE: "x32"
    QT_VERSION: "Qt5.9.0"
    COMPILER: "VS2015"
  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
  script: "CI\\ci-windows-test.bat"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
     ARCHITECTURE: "x64"
     QT_VERSION: "Qt5.5.1"
     COMPILER: "VS2013"
  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
319

Jan Möbius's avatar
typo    
Jan Möbius committed
320
Mac-Cpp11:
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
  stage:
    Build
  script: "CI/ci-mac-build.sh"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
  tags:
    - Apple
  artifacts:
    paths:
      - build-release/

Test:Mac-Cpp11:
  stage:
    Test
  script: "CI/ci-mac-test.sh"
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
  tags:
    - Apple
  dependencies:
    - Mac-Cpp11
  artifacts:
    paths:
      - build-release/Testing/Temporary/LastTest.log

Deploy:Mac-Cpp11:
  stage:
    Deploy
  only:
    - master
  script: "CI/ci-mac-deploy.sh"
Jan Möbius's avatar
Jan Möbius committed
352
353
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
Jan Möbius's avatar
Jan Möbius committed
354
355
  tags:
    - Apple
356
357
  dependencies:
    - Mac-Cpp11
Jan Möbius's avatar
Jan Möbius committed
358
359
  artifacts:
    paths:
Jan Möbius's avatar
typo    
Jan Möbius committed
360
      - build-release/*.dmg
Jan Möbius's avatar
Jan Möbius committed
361
362

Doc-publish:
363
364
  stage:
     Deploy 
Jan Möbius's avatar
Jan Möbius committed
365
366
  only:
     - master
Jan Möbius's avatar
Jan Möbius committed
367
  script: "CI/ci-doc.sh"
Jan Möbius's avatar
Jan Möbius committed
368
369
  tags:
     - Linux
Jan Möbius's avatar
Jan Möbius committed
370
371
  variables:
     GIT_SUBMODULE_STRATEGY: recursive
Jan Möbius's avatar
Jan Möbius committed
372
373
374
375
376
377
378
379
  artifacts:
    paths:
       - build-release/Doxygen-warning.log 
       - build-release/Doxygen-error.log