Unverified Commit 16726614 authored by Marcel Raad's avatar Marcel Raad
Browse files

AppVeyor: use in-tree build

Required to run the tests.

Closes https://github.com/curl/curl/pull/3100
parent 8f2bb0e3
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -64,9 +64,7 @@ environment:
        SHARED: OFF
        SHARED: OFF


build_script:
build_script:
    - mkdir build.%BDIR%
    - 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=""
    - cd build.%BDIR%
    - cmake .. -G"%PRJ_GEN%" -DCMAKE_USE_OPENSSL=%OPENSSL% -DBUILD_SHARED_LIBS=%SHARED% -DBUILD_TESTING=%TESTING% -DCURL_WERROR=ON
    - cmake --build . --config %PRJ_CFG% --clean-first
    - cmake --build . --config %PRJ_CFG% --clean-first


# whitelist branches to avoid testing feature branches twice (as branch and as pull request)
# whitelist branches to avoid testing feature branches twice (as branch and as pull request)