ci: add openssl to 'windows_latest'
This commit is contained in:
parent
09bb450b1f
commit
308355322c
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -41,6 +41,14 @@ jobs:
|
|||||||
toolchain: ${{ matrix.toolchain }}
|
toolchain: ${{ matrix.toolchain }}
|
||||||
override: true
|
override: true
|
||||||
profile: minimal
|
profile: minimal
|
||||||
|
- name: Install OpenSSL (windows)
|
||||||
|
if: matrix.os == 'windows-latest'
|
||||||
|
run: |
|
||||||
|
choco install openssl.light --no-progress
|
||||||
|
echo "C:\Program Files\OpenSSL" >> $env:GITHUB_PATH
|
||||||
|
echo "C:\Program Files\OpenSSL\bin" >> $env::GITHUB_PATH
|
||||||
|
echo "OPENSSL_DIR=C:\Program Files\OpenSSL" >> $env:GITHUB_ENV
|
||||||
|
|
||||||
- name: Test on Rust ${{ matrix.toolchain }} (only Windows)
|
- name: Test on Rust ${{ matrix.toolchain }} (only Windows)
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
run: cargo test --verbose --no-default-features
|
run: cargo test --verbose --no-default-features
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user