Skip to content

Commit eb45b17

Browse files
authored
Update test.yaml
1 parent b60d25d commit eb45b17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ jobs:
4343
uses: microsoft/setup-msbuild@v2
4444
- name: Install libraries
4545
run: |
46+
where vcpkg
4647
vcpkg install gtest curl zlib brotli
4748
choco install openssl
4849
- name: Configure CMake for Release
49-
run: cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${{ env.VCPKG_INSTALLATION_ROOT }}/scripts/buildsystems/vcpkg.cmake -DHTTPLIB_TEST=ON -DHTTPLIB_REQUIRE_OPENSSL=ON -DHTTPLIB_REQUIRE_ZLIB=ON -DHTTPLIB_REQUIRE_BROTLI=ON
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
5051
- name: Build with CMake
5152
run: cmake --build build --config Release
5253
- name: Run tests with CTest

0 commit comments

Comments
 (0)