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:
43
43
uses : microsoft/setup-msbuild@v2
44
44
- name : Install libraries
45
45
run : |
46
- where vcpkg
47
46
vcpkg install gtest curl zlib brotli
48
47
choco install openssl
49
48
- 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
51
50
- name : Build with CMake
52
51
run : cmake --build build --config Release
53
52
- name : Run tests with CTest
54
53
run : ctest --output-on-failure --test-dir build -C Release
55
54
env :
55
+ VCPKG_ROOT : " C:/vcpkg"
56
56
VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
You can’t perform that action at this time.
0 commit comments