Appveyor: Updates for options - CURL_STATICLIB/BUILD_TESTING

Closes #892
This commit is contained in:
Sergei Nikulov 2016-06-22 15:42:10 +03:00 committed by Daniel Stenberg
parent c4f108ece8
commit 7c9cfd6c51

View File

@ -1,4 +1,4 @@
version: 7.47.0.{build}
version: 7.50.0.{build}
environment:
matrix:
@ -6,30 +6,60 @@ environment:
BDIR: msvc2012
PRJ_CFG: Release
OPENSSL: OFF
TESTING: OFF
STATICLIB: OFF
- PRJ_GEN: "Visual Studio 12 2013 Win64"
BDIR: msvc2013
PRJ_CFG: Release
OPENSSL: OFF
TESTING: OFF
STATICLIB: OFF
- PRJ_GEN: "Visual Studio 14 2015 Win64"
BDIR: msvc2015
PRJ_CFG: Release
OPENSSL: OFF
TESTING: OFF
STATICLIB: OFF
- PRJ_GEN: "Visual Studio 11 2012 Win64"
BDIR: msvc2012
PRJ_CFG: Release
OPENSSL: ON
TESTING: OFF
STATICLIB: OFF
- PRJ_GEN: "Visual Studio 12 2013 Win64"
BDIR: msvc2013
PRJ_CFG: Release
OPENSSL: ON
TESTING: OFF
STATICLIB: OFF
- PRJ_GEN: "Visual Studio 14 2015 Win64"
BDIR: msvc2015
PRJ_CFG: Release
OPENSSL: ON
TESTING: OFF
STATICLIB: OFF
- PRJ_GEN: "Visual Studio 11 2012 Win64"
BDIR: msvc2012
PRJ_CFG: Release
OPENSSL: OFF
TESTING: ON
STATICLIB: ON
- PRJ_GEN: "Visual Studio 12 2013 Win64"
BDIR: msvc2013
PRJ_CFG: Release
OPENSSL: OFF
TESTING: ON
STATICLIB: ON
- PRJ_GEN: "Visual Studio 14 2015 Win64"
BDIR: msvc2015
PRJ_CFG: Release
OPENSSL: OFF
TESTING: ON
STATICLIB: ON
build_script:
- mkdir build.%BDIR%
- cd build.%BDIR%
- cmake .. -G"%PRJ_GEN%" -DCMAKE_USE_OPENSSL=%OPENSSL%
- cmake .. -G"%PRJ_GEN%" -DCMAKE_USE_OPENSSL=%OPENSSL% -DCURL_STATICLIB=%STATICLIB% -DBUILD_TESTING=%TESTING%
- cmake --build . --config %PRJ_CFG% --clean-first