Update test.yaml

This commit is contained in:
yhirose 2024-11-16 00:49:09 -05:00 committed by GitHub
parent b60d25dd14
commit eb45b17389
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,10 +43,11 @@ 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=${{ env.VCPKG_INSTALLATION_ROOT }}/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=C:/vcpkg/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