.gitlab-ci.yml 4.85 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"
Martin Schultz's avatar
Martin Schultz committed
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
  script: "CI\\Windows.bat"
  tags:
    - VS2015
  artifacts:
    paths:
      - build-release/*.exe
      
Jan Möbius's avatar
Jan Möbius committed
261
Doc-publish:
Jan Möbius's avatar
Jan Möbius committed
262
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
263
264
265
266
267
  only:
     - master
  script: "CI/ci-doc.sh"
  tags:
     - Linux
Jan Möbius's avatar
Jan Möbius committed
268
269

Sources:
Jan Möbius's avatar
Jan Möbius committed
270
  stage: deploy
Jan Möbius's avatar
Jan Möbius committed
271
272
  only:
     - master
Jan Möbius's avatar
Jan Möbius committed
273
  script: "CI/ci-source.sh"
274
275
  tags:
     - Linux
Jan Möbius's avatar
Jan Möbius committed
276
277
  artifacts:
    paths:
Jan Möbius's avatar
Jan Möbius committed
278
279
280
      - OpenMesh*.zip
      - OpenMesh*.tar.bz2
      - OpenMesh*.tar.gz
Jan Möbius's avatar
Jan Möbius committed
281