File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 9898 matrix :
9999 config :
100100 - with_ssl : false
101+ compiled : false
102+ run_tests : true
101103 name : without SSL
102104 - with_ssl : true
105+ compiled : false
106+ run_tests : true
103107 name : with SSL
108+ - with_ssl : false
109+ compiled : true
110+ run_tests : false
111+ name : compiled
104112 name : windows ${{ matrix.config.name }}
105113 steps :
106114 - name : Prepare Git for Checkout on Windows
@@ -128,12 +136,14 @@ jobs:
128136 -DCMAKE_BUILD_TYPE=Release
129137 -DCMAKE_TOOLCHAIN_FILE=${{ env.VCPKG_ROOT }}/scripts/buildsystems/vcpkg.cmake
130138 -DHTTPLIB_TEST=ON
139+ -DHTTPLIB_COMPILE=${{ matrix.config.compiled && 'ON' || 'OFF' }}
131140 -DHTTPLIB_REQUIRE_ZLIB=ON
132141 -DHTTPLIB_REQUIRE_BROTLI=ON
133142 -DHTTPLIB_REQUIRE_OPENSSL=${{ matrix.config.with_ssl && 'ON' || 'OFF' }}
134143 - name : Build ${{ matrix.config.name }}
135144 run : cmake --build build --config Release -- /v:m /clp:ShowCommandLine
136145 - name : Run tests ${{ matrix.config.name }}
146+ if : ${{ matrix.config.run_tests }}
137147 run : ctest --output-on-failure --test-dir build -C Release
138148
139149 env :
You can’t perform that action at this time.
0 commit comments