From f4466fcb640ca9d3b4f540e4eaac2f384ba4b89e Mon Sep 17 00:00:00 2001 From: yhirose Date: Sat, 16 Nov 2024 00:58:00 -0500 Subject: [PATCH] Update test.yaml --- .github/workflows/test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9f8c1bb9c4..2f798dc23c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -43,14 +43,14 @@ jobs: uses: microsoft/setup-msbuild@v2 - name: Install libraries run: | - where vcpkg vcpkg install gtest curl zlib brotli choco install openssl - name: Configure CMake for Release - 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 + 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 - name: Build with CMake run: cmake --build build --config Release - name: Run tests with CTest run: ctest --output-on-failure --test-dir build -C Release env: + VCPKG_ROOT: "C:/vcpkg" VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"