1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-15 14:05:03 -05:00

appveyor: add a winbuild

Assisted-by: Marcel Raad
Assisted-by: Jay Satiro

Closes #4324
This commit is contained in:
Daniel Stenberg 2019-09-11 13:57:32 +02:00
parent 65f5b958c9
commit 5977664d2f
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -94,6 +94,12 @@ environment:
COMPILER_PATH: "C:\\MinGW\\bin" COMPILER_PATH: "C:\\MinGW\\bin"
MSYS2_ARG_CONV_EXCL: "/*" MSYS2_ARG_CONV_EXCL: "/*"
BUILD_OPT: -k BUILD_OPT: -k
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
BUILD_SYSTEM: winbuild
OPENSSL: ON
WINSSL: OFF
TESTING: OFF
MSYS2_ARG_CONV_EXCL: "/*"
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017" - APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
BUILD_SYSTEM: VisualStudioSolution BUILD_SYSTEM: VisualStudioSolution
PRJ_CFG: "DLL Debug - DLL Windows SSPI - DLL WinIDN" PRJ_CFG: "DLL Debug - DLL Windows SSPI - DLL WinIDN"
@ -124,7 +130,14 @@ build_script:
if %BUILD_SYSTEM%==VisualStudioSolution ( if %BUILD_SYSTEM%==VisualStudioSolution (
cd projects && cd projects &&
.\\generate.bat %VC_VERSION% && .\\generate.bat %VC_VERSION% &&
msbuild.exe /p:Configuration="%PRJ_CFG%" "Windows\\%VC_VERSION%\\curl-all.sln" )) msbuild.exe /p:Configuration="%PRJ_CFG%" "Windows\\%VC_VERSION%\\curl-all.sln" ) else (
if %BUILD_SYSTEM%==winbuild (
call buildconf.bat &&
cd winbuild &&
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 &&
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64 &&
nmake /f Makefile.vc mode=dll VC=15 "SSL_PATH=C:\OpenSSL-v111-Win64" WITH_SSL=dll MACHINE=x64
)))
test_script: test_script:
- if %TESTING%==ON ( - if %TESTING%==ON (