From df6b8599ff1d42203a8ca888a74877b7d2af772b Mon Sep 17 00:00:00 2001 From: Nicolas Werner <nicolas.werner@hotmail.de> Date: Fri, 17 Jan 2020 21:38:42 +0100 Subject: [PATCH] Update appveyor for hunter --- appveyor.yml | 34 +++------------------------------- 1 file changed, 3 insertions(+), 31 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 9659b309d..263df30fc 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,8 +7,7 @@ image: Visual Studio 2017 platform: x64 cache: - - c:\tools\vcpkg\installed\ -> appveyor.yml - - .deps -> appveyor.yml, deps/CMakeLists.txt + - c:\hunter\ -> appveyor.yml build: verbosity: minimal @@ -18,37 +17,10 @@ install: - set PATH=%PATH%;C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin - mingw32-make.exe --version - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" - - cd "C:\Tools\vcpkg"&& git pull && .\bootstrap-vcpkg.bat && cd %APPVEYOR_BUILD_FOLDER% - - vcpkg install - nlohmann-json:%PLATFORM%-windows - boost-asio:%PLATFORM%-windows - boost-beast:%PLATFORM%-windows - boost-iostreams:%PLATFORM%-windows - boost-random:%PLATFORM%-windows - boost-signals2:%PLATFORM%-windows - boost-system:%PLATFORM%-windows - boost-thread:%PLATFORM%-windows - libsodium:%PLATFORM%-windows - openssl:%PLATFORM%-windows - spdlog:%PLATFORM%-windows - zlib:%PLATFORM%-windows - - vcpkg upgrade --no-dry-run build_script: - cmake --version - - cmake -G "Visual Studio 15 2017 Win64" -Hdeps -B.deps - -DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake - -DCMAKE_BUILD_TYPE=Release - -DUSE_BUNDLED_BOOST=OFF - -DUSE_BUNDLED_SPDLOG=OFF - -DUSE_BUNDLED_GTEST=OFF - -DUSE_BUNDLED_JSON=OFF - - cmake --build .deps --config Release - - - cmake -G "Visual Studio 15 2017 Win64" -H. -Bbuild + + - cmake -G "Visual Studio 15 2017 Win64" -H. -Bbuild -DHUNTER_ENABLED=ON -DHUNTER_ROOT="C:\hunter" -DCMAKE_BUILD_TYPE=Release - -DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake - -DBUILD_LIB_TESTS=OFF - -DBUILD_LIB_EXAMPLES=OFF - -DCMAKE_INSTALL_PREFIX=.deps/usr - cmake --build build --config Release -- GitLab