Replicate AppVeyor JSON Install from mtxclient:

https://github.com/Nheko-Reborn/mtxclient/commit/023177170c4
This commit is contained in:
Joseph Donofry 2019-05-19 22:42:00 -04:00
parent dcf13bc606
commit a6d5d9d9fe
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

@ -20,7 +20,9 @@ install:
- set PATH=%PATH%;%QT_DIR%\bin;C:\MinGW\bin - set PATH=%PATH%;%QT_DIR%\bin;C:\MinGW\bin
- set PATH=%PATH%;C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin - set PATH=%PATH%;C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" - 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 - vcpkg install
nlohmann-json:%PLATFORM%-windows
boost-asio:%PLATFORM%-windows boost-asio:%PLATFORM%-windows
boost-beast:%PLATFORM%-windows boost-beast:%PLATFORM%-windows
boost-iostreams:%PLATFORM%-windows boost-iostreams:%PLATFORM%-windows
@ -56,7 +58,7 @@ build_script:
- cmake -G "Visual Studio 15 2017 Win64" -Hdeps -B.deps - cmake -G "Visual Studio 15 2017 Win64" -Hdeps -B.deps
-DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake
-DUSE_BUNDLED_BOOST=OFF -DUSE_BUNDLED_BOOST=OFF
-DUSE_BUNDLED_JSON=ON -DUSE_BUNDLED_JSON=OFF
- cmake --build .deps --config Release - cmake --build .deps --config Release
# Build nheko # Build nheko