File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 35
35
uses : actions/checkout@v4
36
36
- name : setup msbuild on windows
37
37
uses : microsoft/setup-msbuild@v2
38
- - name : make-windows
38
+ - name : build and run tests
39
39
run : |
40
40
cd test
41
41
msbuild.exe test.sln /verbosity:minimal /t:Build "/p:Configuration=Release;Platform=x64"
42
- x64\Release\test.exe
43
-
42
+ x64\Release\test.exe
43
+ - name : Install libraries
44
+ run : |
45
+ vcpkg install gtest curl zlib brotli
46
+ choco openssl
47
+ - name : Configure CMake for Release
48
+ run : cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake -DHTTPLIB_TEST=ON -DHTTPLIB_REQUIRE_OPENSSL -DHTTPLIB_REQUIRE_ZLIB=ON -DHTTPLIB_REQUIRE_BROTLI=ON
49
+ - name : Build with CMake
50
+ run : cmake --build build --config Release
51
+ - name : Run tests with CTest
52
+ run : ctest --output-on-failure --test-dir build -C Release
You can’t perform that action at this time.
0 commit comments