.gitlab-ci.yml 4.97 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
  script: "CI/ci-linux.sh gcc C++11"
  tags:
    - Linux
10
    - stretch
11
12

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

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

26
clang-c++14:
Jan Möbius's avatar
Jan Möbius committed
27
  stage: build
28
29
30
  script: "CI/ci-linux.sh clang C++14"
  tags: 
    - Linux
31
    - stretch    
32
33

macos-c++11:
Jan Möbius's avatar
Jan Möbius committed
34
  stage: build
35
36
37
38
39
40
41
42
43
  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
44
  stage: build
45
46
47
48
49
50
51
  script: "CI/ci-mac.sh C++14"
  tags:
    - Apple
  artifacts:
    paths:
      - build-release-cpp14/*.dmg
      - build-release-cpp14/*.tar.gz
52

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

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

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

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

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

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

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

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

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

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

252
VS2015-32-bit-static-no-apps:
Jan Möbius's avatar
Jan Möbius committed
253
  stage: build
Jan Möbius's avatar
Jan Möbius committed
254
  variables:
255
256
    BUILD_PLATFORM: "VS2015"
    ARCHITECTURE:   "x32"
Jan Möbius's avatar
Jan Möbius committed
257
258
    SHARED:         "FALSE"
    APPS:           "OFF"
259
260
261
262
263
264
265
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe
      
Jan Möbius's avatar
Jan Möbius committed
266
Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
267
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
268
269
270
271
272
  only:
     - master
  script: "CI/ci-doc.sh"
  tags:
     - Linux
273
     - stretch     
Jan Möbius's avatar
Jan Möbius committed
274
275

Sources:
Jan Möbius's avatar
Jan Möbius committed
276
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
277
278
  only:
     - master
Jan Möbius's avatar
Jan Möbius committed
279
  script: "CI/ci-source.sh"
280
281
  tags:
     - Linux
282
     - stretch     
Jan Möbius's avatar
Jan Möbius committed
283
284
  artifacts:
    paths:
Jan Möbius's avatar
Jan Möbius committed
285
286
287
      - OpenMesh*.zip
      - OpenMesh*.tar.bz2
      - OpenMesh*.tar.gz
Jan Möbius's avatar
Jan Möbius committed
288