(ssl) Default to OpenSSL on Windows, since it can load the system certificates by default

This commit is contained in:
Benjamin Sergeant
2020-04-25 15:36:31 -07:00
parent 4ed7968b05
commit 0ab04f51fe
5 changed files with 17 additions and 9 deletions

View File

@ -37,18 +37,18 @@ jobs:
- name: make test
run: make test_tsan_mbedtls
windows_mbedtls:
windows_openssl:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: seanmiddleditch/gha-setup-vsdevenv@master
- run: |
vcpkg install zlib:x64-windows
vcpkg install mbedtls:x64-windows
vcpkg install openssl:x64-windows
- run: |
mkdir build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_CXX_COMPILER=cl.exe -DUSE_MBED_TLS=1 -DUSE_TLS=1 -DUSE_WS=1 -DUSE_TEST=1 ..
cmake -DCMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_CXX_COMPILER=cl.exe -DUSE_TLS=1 -DUSE_WS=1 -DUSE_TEST=1 ..
- run: cmake --build build
# Running the unittest does not work, the binary cannot be found