fix: try fixing ci on windows

copied openssl vcpkg magic from 53ff3ad099/.github/workflows/windows.yml
This commit is contained in:
Joonas Koivunen 2020-03-12 13:16:31 +02:00 committed by Joonas Koivunen
parent e0179d5ef4
commit c04e46ccb1

View File

@ -31,6 +31,7 @@ jobs:
- target: armv7-linux-androideabi
host: ubuntu-latest
cross: true
- target: aarch64-linux-android
host: ubuntu-latest
cross: true
@ -38,6 +39,7 @@ jobs:
- target: armv7-apple-ios
host: macos-latest
cross: true
- target: aarch64-apple-ios
host: macos-latest
cross: true
@ -72,7 +74,14 @@ jobs:
- name: Install dependencies windows
if: matrix.platform.host == 'windows-latest'
run: choco install llvm
run: |
choco install llvm
vcpkg integrate install
vcpkg install openssl:x64-windows
Copy-Item C:\vcpkg\installed\x64-windows\bin\libcrypto-1_1-x64.dll C:\vcpkg\installed\x64-windows\bin\libcrypto.dll
Copy-Item C:\vcpkg\installed\x64-windows\bin\libssl-1_1-x64.dll C:\vcpkg\installed\x64-windows\bin\libssl.dll
Get-ChildItem C:\vcpkg\installed\x64-windows\bin
Get-ChildItem C:\vcpkg\installed\x64-windows\lib
- name: Install rust toolchain
uses: hecrj/setup-rust-action@v1