1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

AppVeyor: use in-tree build

Required to run the tests.

Closes https://github.com/curl/curl/pull/3100
This commit is contained in:
Marcel Raad 2018-10-03 19:21:12 +02:00
parent 8f2bb0e377
commit 1672661443
No known key found for this signature in database
GPG Key ID: 07ADACB610D796DA

View File

@ -64,9 +64,7 @@ environment:
SHARED: OFF
build_script:
- mkdir build.%BDIR%
- cd build.%BDIR%
- cmake .. -G"%PRJ_GEN%" -DCMAKE_USE_OPENSSL=%OPENSSL% -DBUILD_SHARED_LIBS=%SHARED% -DBUILD_TESTING=%TESTING% -DCURL_WERROR=ON
- cmake . -G"%PRJ_GEN%" -DCMAKE_USE_OPENSSL=%OPENSSL% -DBUILD_SHARED_LIBS=%SHARED% -DBUILD_TESTING=%TESTING% -DCURL_WERROR=ON -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE="" -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG=""
- cmake --build . --config %PRJ_CFG% --clean-first
# whitelist branches to avoid testing feature branches twice (as branch and as pull request)