.gitlab-ci.yml 6.98 KB
Newer Older
Jan Möbius's avatar
Jan Möbius committed
1
2
3
4
stages:
  - build
  - deploy

5
gcc-c++11:
Jan Möbius's avatar
Jan Möbius committed
6
  stage: build
7
8
9
10
11
  script: "CI/ci-linux.sh gcc C++11"
  tags:
    - Linux

clang-c++11:
Jan Möbius's avatar
Jan Möbius committed
12
  stage: build
13
14
15
16
17
  script: "CI/ci-linux.sh clang C++11"
  tags:
    - Linux

gcc-c++14:
Jan Möbius's avatar
Jan Möbius committed
18
  stage: build
19
  script: "CI/ci-linux.sh gcc C++14"
Jan Möbius's avatar
Jan Möbius committed
20
21
22
  tags:
    - Linux

23
clang-c++14:
Jan Möbius's avatar
Jan Möbius committed
24
  stage: build
25
26
27
28
29
  script: "CI/ci-linux.sh clang C++14"
  tags: 
    - Linux

macos-c++11:
Jan Möbius's avatar
Jan Möbius committed
30
  stage: build
31
32
33
34
35
36
37
38
39
  script: "CI/ci-mac.sh C++11"
  tags:
    - Apple
  artifacts:
    paths:
      - build-release-cpp11/*.dmg
      - build-release-cpp11/*.tar.gz

macos-c++98:
Jan Möbius's avatar
Jan Möbius committed
40
  stage: build
41
42
43
44
45
46
47
  script: "CI/ci-mac.sh C++14"
  tags:
    - Apple
  artifacts:
    paths:
      - build-release-cpp14/*.dmg
      - build-release-cpp14/*.tar.gz
48

49
cppcheck:
Jan Möbius's avatar
Jan Möbius committed
50
  stage: build
51
52
53
54
55
56
57
58
  script: "CI/ci-cppcheck.sh"
  tags:
    - Linux
  artifacts:
    paths:
      - cppcheck.log
      
VS2017-64-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
59
  stage: build
60
61
62
63
64
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x64"
    SHARED:         "TRUE"
    APPS:           "ON"
Jan Möbius's avatar
Jan Möbius committed
65
    GIT_CURL_VERBOSE: "1"
66
67
68
69
70
71
72
73
74
  script: "CI\\Windows.bat"
  tags:
    - VS2017
    - Qt5101
  artifacts:
    paths:
      - build-release/*.exe      
      
VS2017-64-bit-static-apps:
Jan Möbius's avatar
Jan Möbius committed
75
  stage: build
Jan Möbius's avatar
Jan Möbius committed
76
  variables:
Jan Möbius's avatar
Jan Möbius committed
77
    BUILD_PLATFORM: "VS2017"
Jan Möbius's avatar
Jan Möbius committed
78
    ARCHITECTURE:   "x64"
79
80
    SHARED:         "FALSE"
    APPS:           "ON"
Martin Schultz's avatar
Martin Schultz committed
81
  script: "CI\\Windows.bat"
82
83
84
  tags:
    - VS2017
    - Qt5101    
85
86
87
  artifacts:
    paths:
      - build-release/*.exe
88
89
90

      
VS2017-64-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
91
  stage: build
92
93
94
95
96
97
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x64"
    SHARED:         "TRUE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
Jan Möbius's avatar
Jan Möbius committed
98
  tags:
Jan Möbius's avatar
Jan Möbius committed
99
    - VS2017
100
101
102
103
  artifacts:
    paths:
      - build-release/*.exe

Jan Möbius's avatar
Jan Möbius committed
104

105
VS2017-32-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
106
  stage: build
Jan Möbius's avatar
Jan Möbius committed
107
108
  variables:
    BUILD_PLATFORM: "VS2017"
109
    ARCHITECTURE:   "x32"
110
111
    SHARED:         "TRUE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
112
113
114
115
116
117
  script: "CI\\Windows.bat"
  tags:
    - VS2017
  artifacts:
    paths:
      - build-release/*.exe
118
      
Jan Möbius's avatar
Jan Möbius committed
119

120
VS2017-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
121
  stage: build
122
123
124
125
126
127
128
129
130
131
132
133
134
135
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x64"
    SHARED:         "FALSE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
  tags:
    - VS2017
  artifacts:
    paths:
      - build-release/*.exe


VS2017-32-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
136
  stage: build
137
138
139
140
141
142
143
144
145
146
147
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x32"
    SHARED:         "FALSE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
  tags:
    - VS2017
  artifacts:
    paths:
      - build-release/*.exe
Jan Möbius's avatar
Jan Möbius committed
148

149
VS2015-64-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
150
  stage: build
151
152
153
154
155
156
157
158
159
160
161
162
163
164
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x64"
    SHARED:         "TRUE"
    APPS:           "ON"
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe
      
      
VS2015-64-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
165
  stage: build
Jan Möbius's avatar
Jan Möbius committed
166
167
168
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x64"
169
170
    SHARED:         "TRUE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
171
172
173
174
175
176
177
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe

178
VS2015-32-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
179
  stage: build
Jan Möbius's avatar
Jan Möbius committed
180
181
182
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x32"
183
184
    SHARED:         "TRUE"
    APPS:           "ON"
Jan Möbius's avatar
Jan Möbius committed
185
186
187
188
189
190
191
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe

192
VS2015-32-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
193
  stage: build
194
195
196
197
198
199
200
201
202
203
204
205
206
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x32"
    SHARED:         "TRUE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe
      
VS2015-64-bit-static-apps:
Jan Möbius's avatar
Jan Möbius committed
207
  stage: build
208
209
210
211
212
213
214
215
216
217
218
  variables:
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x64"
    SHARED:         "FALSE"
    APPS:           "ON"
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe
Jan Möbius's avatar
Jan Möbius committed
219

220
VS2015-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
221
  stage: build
Jan Möbius's avatar
Jan Möbius committed
222
  variables:
223
    BUILD_PLATFORM: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
224
    ARCHITECTURE:   "x64"
225
226
    SHARED:         "FALSE"
    APPS:           "OFF"
Jan Möbius's avatar
Jan Möbius committed
227
228
  script: "CI\\Windows.bat"
  tags:
229
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
230
231
232
233
  artifacts:
    paths:
      - build-release/*.exe

234
VS2015-32-bit-static-apps:
Jan Möbius's avatar
Jan Möbius committed
235
  stage: build
Jan Möbius's avatar
Jan Möbius committed
236
  variables:
237
    BUILD_PLATFORM: "VS2015"
Jan Möbius's avatar
Jan Möbius committed
238
    ARCHITECTURE:   "x32"
239
240
    SHARED:         "FALSE"
    APPS:           "ON"
Jan Möbius's avatar
Jan Möbius committed
241
242
  script: "CI\\Windows.bat"
  tags:
243
    - VS2015
Jan Möbius's avatar
Jan Möbius committed
244
245
246
247
  artifacts:
    paths:
      - build-release/*.exe

248
VS2015-32-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
249
  stage: build
Jan Möbius's avatar
Jan Möbius committed
250
  variables:
251
252
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x32"
Jan Möbius's avatar
Jan Möbius committed
253
254
    SHARED:         "FALSE"
    APPS:           "OFF"
255
256
257
258
259
260
261
262
263
264
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe
      
      
      
VS2013-64-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
265
  stage: build
Jan Möbius's avatar
Jan Möbius committed
266
  variables:
267
268
269
    BUILD_PLATFORM: "VS2013"
    ARCHITECTURE:   "x64"
    SHARED:         "TRUE"
Jan Möbius's avatar
Jan Möbius committed
270
    APPS:           "ON"
271
272
273
274
275
276
277
278
  script: "CI\\Windows.bat"
  tags:
    - VS2013
  artifacts:
    paths:
      - build-release/*.exe

VS2013-64-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
279
  stage: build
Jan Möbius's avatar
Jan Möbius committed
280
  variables:
281
282
    BUILD_PLATFORM: "VS2013"
    ARCHITECTURE:   "x64"
Jan Möbius's avatar
Jan Möbius committed
283
284
    SHARED:         "TRUE"
    APPS:           "OFF"
285
286
287
288
289
290
  script: "CI\\Windows.bat"
  tags:
    - VS2013
  artifacts:
    paths:
      - build-release/*.exe
Jan Möbius's avatar
Jan Möbius committed
291

292
VS2013-32-bit-shared-apps:
Jan Möbius's avatar
Jan Möbius committed
293
  stage: build
Jan Möbius's avatar
Jan Möbius committed
294
  variables:
295
296
    BUILD_PLATFORM: "VS2013"
    ARCHITECTURE:   "x32"
Jan Möbius's avatar
Jan Möbius committed
297
298
    SHARED:         "TRUE"
    APPS:           "ON"
299
  script: "CI\\Windows.bat"
Jan Möbius's avatar
Jan Möbius committed
300
  tags:
301
    - VS2013
Jan Möbius's avatar
Jan Möbius committed
302
303
  artifacts:
    paths:
304
      - build-release/*.exe
Jan Möbius's avatar
Jan Möbius committed
305

306
VS2013-32-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
307
  stage: build
308
309
310
311
312
313
  variables:
    BUILD_PLATFORM: "VS2013"
    ARCHITECTURE:   "x32"
    SHARED:         "TRUE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
Jan Möbius's avatar
Jan Möbius committed
314
  tags:
315
    - VS2013
Jan Möbius's avatar
Jan Möbius committed
316
317
  artifacts:
    paths:
318
319
320
      - build-release/*.exe
      
VS2013-64-bit-static-apps:
Jan Möbius's avatar
Jan Möbius committed
321
  stage: build
322
323
324
325
326
327
  variables:
    BUILD_PLATFORM: "VS2013"
    ARCHITECTURE:   "x64"
    SHARED:         "FALSE"
    APPS:           "ON"
  script: "CI\\Windows.bat"
Jan Möbius's avatar
Jan Möbius committed
328
  tags:
329
    - VS2013
Jan Möbius's avatar
Jan Möbius committed
330
331
  artifacts:
    paths:
332
      - build-release/*.exe
Jan Möbius's avatar
Jan Möbius committed
333
334

VS2013-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
335
  stage: build
336
337
338
339
340
341
342
343
344
345
346
  variables:
    BUILD_PLATFORM: "VS2013"
    ARCHITECTURE:   "x64"
    SHARED:         "FALSE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
  tags:
    - VS2013
  artifacts:
    paths:
      - build-release/*.exe
Jan Möbius's avatar
Jan Möbius committed
347
348

VS2013-32-bit-static-apps:
Jan Möbius's avatar
Jan Möbius committed
349
  stage: build
350
351
352
353
354
355
356
357
358
359
360
  variables:
    BUILD_PLATFORM: "VS2013"
    ARCHITECTURE:   "x32"
    SHARED:         "FALSE"
    APPS:           "ON"
  script: "CI\\Windows.bat"
  tags:
    - VS2013
  artifacts:
    paths:
      - build-release/*.exe
Jan Möbius's avatar
Jan Möbius committed
361
362

VS2013-32-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
363
  stage: build
364
365
366
367
368
369
370
371
372
373
374
  variables:
    BUILD_PLATFORM: "VS2013"
    ARCHITECTURE:   "x32"
    SHARED:         "FALSE"
    APPS:           "OFF"
  script: "CI\\Windows.bat"
  tags:
    - VS2013
  artifacts:
    paths:
      - build-release/*.exe      
Jan Möbius's avatar
Jan Möbius committed
375
376
      
Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
377
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
378
379
380
381
382
  only:
     - master
  script: "CI/ci-doc.sh"
  tags:
     - Linux
Jan Möbius's avatar
Jan Möbius committed
383
384

Sources:
Jan Möbius's avatar
Jan Möbius committed
385
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
386
387
  only:
     - master
Jan Möbius's avatar
Jan Möbius committed
388
  script: "CI/ci-source.sh"
389
390
  tags:
     - Linux
Jan Möbius's avatar
Jan Möbius committed
391
392
  artifacts:
    paths:
Jan Möbius's avatar
Jan Möbius committed
393
394
395
      - OpenMesh*.zip
      - OpenMesh*.tar.bz2
      - OpenMesh*.tar.gz
Jan Möbius's avatar
Jan Möbius committed
396