.gitlab-ci.yml 6.96 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 65 66 67 68 69 70 71 72 73
  variables:
    BUILD_PLATFORM: "VS2017"
    ARCHITECTURE:   "x64"
    SHARED:         "TRUE"
    APPS:           "ON"
  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
74
  stage: build
Jan Möbius's avatar
Jan Möbius committed
75
  variables:
Jan Möbius's avatar
Jan Möbius committed
76
    BUILD_PLATFORM: "VS2017"
Jan Möbius's avatar
Jan Möbius committed
77
    ARCHITECTURE:   "x64"
78 79
    SHARED:         "FALSE"
    APPS:           "ON"
80
  script: "CI\\Windows.bat"
81 82 83
  tags:
    - VS2017
    - Qt5101    
84 85 86
  artifacts:
    paths:
      - build-release/*.exe
87 88 89

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

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

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

119
VS2017-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
120
  stage: build
121 122 123 124 125 126 127 128 129 130 131 132 133 134
  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
135
  stage: build
136 137 138 139 140 141 142 143 144 145 146
  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
147

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

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

191
VS2015-32-bit-shared-no-apps:
Jan Möbius's avatar
Jan Möbius committed
192
  stage: build
193 194 195 196 197 198 199 200 201 202 203 204 205
  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
206
  stage: build
207 208 209 210 211 212 213 214 215 216 217
  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
218

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

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

247
VS2015-32-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
248
  stage: build
Jan Möbius's avatar
Jan Möbius committed
249
  variables:
250 251
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x32"
Jan Möbius's avatar
Jan Möbius committed
252 253
    SHARED:         "FALSE"
    APPS:           "OFF"
254 255 256 257 258 259 260 261 262 263
  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
264
  stage: build
Jan Möbius's avatar
Jan Möbius committed
265
  variables:
266 267 268
    BUILD_PLATFORM: "VS2013"
    ARCHITECTURE:   "x64"
    SHARED:         "TRUE"
Jan Möbius's avatar
Jan Möbius committed
269
    APPS:           "ON"
270 271 272 273 274 275 276 277
  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
278
  stage: build
Jan Möbius's avatar
Jan Möbius committed
279
  variables:
280 281
    BUILD_PLATFORM: "VS2013"
    ARCHITECTURE:   "x64"
Jan Möbius's avatar
Jan Möbius committed
282 283
    SHARED:         "TRUE"
    APPS:           "OFF"
284 285 286 287 288 289
  script: "CI\\Windows.bat"
  tags:
    - VS2013
  artifacts:
    paths:
      - build-release/*.exe
Jan Möbius's avatar
Jan Möbius committed
290

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

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

VS2013-64-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
334
  stage: build
335 336 337 338 339 340 341 342 343 344 345
  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
346 347

VS2013-32-bit-static-apps:
Jan Möbius's avatar
Jan Möbius committed
348
  stage: build
349 350 351 352 353 354 355 356 357 358 359
  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
360 361

VS2013-32-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
362
  stage: build
363 364 365 366 367 368 369 370 371 372 373
  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
374 375
      
Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
376
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
377 378 379 380 381
  only:
     - master
  script: "CI/ci-doc.sh"
  tags:
     - Linux
Jan Möbius's avatar
Jan Möbius committed
382 383

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