File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ jobs:
4343 uses : microsoft/setup-msbuild@v2
4444 - name : Install libraries
4545 run : |
46- where vcpkg
4746 vcpkg install gtest curl zlib brotli
4847 choco install openssl
4948 - name : Configure CMake for Release
50- run : cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg /scripts/buildsystems/vcpkg.cmake -DHTTPLIB_TEST=ON -DHTTPLIB_REQUIRE_OPENSSL=ON -DHTTPLIB_REQUIRE_ZLIB=ON -DHTTPLIB_REQUIRE_BROTLI=ON
49+ run : cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE={{ .env.VCPKG_ROOT }} /scripts/buildsystems/vcpkg.cmake -DHTTPLIB_TEST=ON -DHTTPLIB_REQUIRE_OPENSSL=ON -DHTTPLIB_REQUIRE_ZLIB=ON -DHTTPLIB_REQUIRE_BROTLI=ON
5150 - name : Build with CMake
5251 run : cmake --build build --config Release
5352 - name : Run tests with CTest
5453 run : ctest --output-on-failure --test-dir build -C Release
5554 env :
55+ VCPKG_ROOT : " C:/vcpkg"
5656 VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
You can’t perform that action at this time.
0 commit comments