1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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: environment:
matrix: matrix:
@ -6,30 +6,60 @@ environment:
BDIR: msvc2012 BDIR: msvc2012
PRJ_CFG: Release PRJ_CFG: Release
OPENSSL: OFF OPENSSL: OFF
TESTING: OFF
STATICLIB: OFF
- PRJ_GEN: "Visual Studio 12 2013 Win64" - PRJ_GEN: "Visual Studio 12 2013 Win64"
BDIR: msvc2013 BDIR: msvc2013
PRJ_CFG: Release PRJ_CFG: Release
OPENSSL: OFF OPENSSL: OFF
TESTING: OFF
STATICLIB: OFF
- PRJ_GEN: "Visual Studio 14 2015 Win64" - PRJ_GEN: "Visual Studio 14 2015 Win64"
BDIR: msvc2015 BDIR: msvc2015
PRJ_CFG: Release PRJ_CFG: Release
OPENSSL: OFF OPENSSL: OFF
TESTING: OFF
STATICLIB: OFF
- PRJ_GEN: "Visual Studio 11 2012 Win64" - PRJ_GEN: "Visual Studio 11 2012 Win64"
BDIR: msvc2012 BDIR: msvc2012
PRJ_CFG: Release PRJ_CFG: Release
OPENSSL: ON OPENSSL: ON
TESTING: OFF
STATICLIB: OFF
- PRJ_GEN: "Visual Studio 12 2013 Win64" - PRJ_GEN: "Visual Studio 12 2013 Win64"
BDIR: msvc2013 BDIR: msvc2013
PRJ_CFG: Release PRJ_CFG: Release
OPENSSL: ON OPENSSL: ON
TESTING: OFF
STATICLIB: OFF
- PRJ_GEN: "Visual Studio 14 2015 Win64" - PRJ_GEN: "Visual Studio 14 2015 Win64"
BDIR: msvc2015 BDIR: msvc2015
PRJ_CFG: Release PRJ_CFG: Release
OPENSSL: ON 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: build_script:
- mkdir build.%BDIR% - mkdir build.%BDIR%
- cd 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 - cmake --build . --config %PRJ_CFG% --clean-first