mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
appveyor: make winbuilds with DEBUG=no/yes and VS 2015/2017
... and invoke "curl -V" once done Co-Authored-By: Jay Satiro Closes #4523
This commit is contained in:
parent
8986df802d
commit
a030d48355
32
appveyor.yml
32
appveyor.yml
@ -112,14 +112,24 @@ environment:
|
||||
MSYS2_ARG_CONV_EXCL: "/*"
|
||||
BUILD_OPT: -k
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
|
||||
BUILD_SYSTEM: winbuild
|
||||
OPENSSL: ON
|
||||
WINSSL: OFF
|
||||
BUILD_SYSTEM: winbuild_vs2015
|
||||
DEBUG: yes
|
||||
PATHPART: debug
|
||||
TESTING: OFF
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015"
|
||||
BUILD_SYSTEM: winbuild_vs2015
|
||||
DEBUG: no
|
||||
PATHPART: release
|
||||
TESTING: OFF
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
|
||||
BUILD_SYSTEM: winbuild17
|
||||
OPENSSL: ON
|
||||
WINSSL: OFF
|
||||
BUILD_SYSTEM: winbuild_vs2017
|
||||
DEBUG: yes
|
||||
PATHPART: debug
|
||||
TESTING: OFF
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
|
||||
BUILD_SYSTEM: winbuild_vs2017
|
||||
DEBUG: no
|
||||
PATHPART: release
|
||||
TESTING: OFF
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2017"
|
||||
BUILD_SYSTEM: VisualStudioSolution
|
||||
@ -165,18 +175,20 @@ build_script:
|
||||
cd projects &&
|
||||
.\\generate.bat %VC_VERSION% &&
|
||||
msbuild.exe /p:Configuration="%PRJ_CFG%" "Windows\\%VC_VERSION%\\curl-all.sln" ) else (
|
||||
if %BUILD_SYSTEM%==winbuild (
|
||||
if %BUILD_SYSTEM%==winbuild_vs2015 (
|
||||
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
|
||||
nmake /f Makefile.vc mode=dll VC=14 "SSL_PATH=C:\OpenSSL-v111-Win64" WITH_SSL=dll MACHINE=x64 DEBUG=%DEBUG% &&
|
||||
..\builds\libcurl-vc14-x64-%PATHPART%-dll-ssl-dll-ipv6-sspi\bin\curl.exe -V
|
||||
) else (
|
||||
if %BUILD_SYSTEM%==winbuild17 (
|
||||
if %BUILD_SYSTEM%==winbuild_vs2017 (
|
||||
call buildconf.bat &&
|
||||
cd winbuild &&
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" &&
|
||||
nmake /f Makefile.vc mode=dll VC=15 "SSL_PATH=C:\OpenSSL-v111-Win64" WITH_SSL=dll MACHINE=x64
|
||||
nmake /f Makefile.vc mode=dll VC=15 "SSL_PATH=C:\OpenSSL-v111-Win64" WITH_SSL=dll MACHINE=x64 DEBUG=%DEBUG% &&
|
||||
..\builds\libcurl-vc15-x64-%PATHPART%-dll-ssl-dll-ipv6-sspi\bin\curl.exe -V
|
||||
))))
|
||||
|
||||
test_script:
|
||||
|
Loading…
Reference in New Issue
Block a user