205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
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
|
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
|
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
|
dist: xenial
compiler: i686-w64-mingw32-gcc
addons: *mingw32
env:
- BUILD_DIR=win
- CFGOPT="--host=i686-w64-mingw32 --enable-threads --enable-symbols"
script: *crosstest
# Test on Windows with MSVC native
# Test on Windows with MSVC native (using configure/make)
- name: "Windows/MSVC/Shared"
os: windows
compiler: cl
env:
- BUILD_DIR=win
- VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
- CFGOPT="--enable-64bit --enable-threads"
before_install: &msys2preinst
- choco install make msys2
- PATH="$PATH:$VCDIR"
- cd ${BUILD_DIR}
install: &msys2inst
- cmd.exe /C 'vcvarsall.bat x64 && sh -c ./configure %CFGOPT% --prefix=%HOME%'
script: &msys2make
- cmd.exe /C 'vcvarsall.bat x64 && sh -c make all tcltest'
- cmd.exe /C 'vcvarsall.bat x64 && sh -c make test'
- name: "Windows/MSVC/Static"
os: windows
compiler: cl
env:
- BUILD_DIR=win
- VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
- CFGOPT="--enable-64bit --enable-threads --disable-shared"
before_install: *msys2preinst
install: *msys2inst
script: *msys2make
- name: "Windows/MSVC/Debug"
os: windows
compiler: cl
env:
- BUILD_DIR=win
- VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
- CFGOPT="--enable-64bit --enable-threads --enable-symbols"
before_install: *msys2preinst
install: *msys2inst
script: *msys2make
# Test on Windows with MSVC native (using nmake)
- name: "Windows/MSVC/Shared/nmake"
os: windows
compiler: cl
env: &vcenv
- BUILD_DIR=win
- VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
before_install: &vcpreinst
- PATH="$PATH:$VCDIR"
- cd ${BUILD_DIR}
install: []
script:
- cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=threads -f makefile.vc all tcltest'
- cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=threads -f makefile.vc test'
- name: "Windows/MSVC/Static"
- name: "Windows/MSVC/Static/nmake"
os: windows
compiler: cl
env: *vcenv
before_install: *vcpreinst
install: []
script:
- cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=static,msvcrt,threads -f makefile.vc all tcltest'
- cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=static,msvcrt,threads -f makefile.vc test'
- name: "Windows/MSVC/Debug"
- name: "Windows/MSVC/Debug/nmake"
os: windows
compiler: cl
env: *vcenv
before_install: *vcpreinst
install: []
script:
- cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=symbols,msvcrt,threads -f makefile.vc all tcltest'
- cmd.exe /C 'vcvarsall.bat x64 && nmake OPTS=symbols,msvcrt,threads -f makefile.vc test'
# Test on Windows with MSVC native (32-bit)
# Test on Windows with MSVC native (32-bit, using configure/make)
- name: "Windows/MSVC-x86/Shared"
os: windows
compiler: cl
env:
- BUILD_DIR=win
- VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
- CFGOPT="--enable-threads"
before_install: *msys2preinst
install: &msys2inst32
- cmd.exe /C 'vcvarsall.bat x86 && sh -c ./configure %CFGOPT% --prefix=%HOME%'
script: &msys2make32
- cmd.exe /C 'vcvarsall.bat x86 && sh -c make all tcltest'
- cmd.exe /C 'vcvarsall.bat x86 && sh -c make test'
- name: "Windows/MSVC-x86/Static"
os: windows
compiler: cl
env:
- BUILD_DIR=win
- VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
- CFGOPT="--enable-threads --disable-shared"
before_install: *msys2preinst
install: *msys2inst32
script: *msys2make32
- name: "Windows/MSVC-x86/Debug"
os: windows
compiler: cl
env:
- BUILD_DIR=win
- VCDIR="/C/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Auxiliary/Build"
- CFGOPT="--enable-threads --enable-symbols"
before_install: *msys2preinst
install: *msys2inst32
script: *msys2make32
# Test on Windows with MSVC native (32-bit, using nmake)
- name: "Windows/MSVC-x86/Shared/nmake"
os: windows
compiler: cl
env: *vcenv
before_install: *vcpreinst
install: []
script:
- cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=threads -f makefile.vc all tcltest'
- cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=threads -f makefile.vc test'
- name: "Windows/MSVC-x86/Static"
- name: "Windows/MSVC-x86/Static/nmake"
os: windows
compiler: cl
env: *vcenv
before_install: *vcpreinst
install: []
script:
- cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=static,msvcrt,threads -f makefile.vc all tcltest'
- cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=static,msvcrt,threads -f makefile.vc test'
- name: "Windows/MSVC-x86/Debug"
- name: "Windows/MSVC-x86/Debug/nmake"
os: windows
compiler: cl
env: *vcenv
before_install: *vcpreinst
install: []
script:
- cmd.exe /C 'vcvarsall.bat x86 && nmake OPTS=symbols,msvcrt,threads -f makefile.vc all tcltest'
|