Skip to content

Commit fa4ce1f

Browse files
committed
test
1 parent 1def31c commit fa4ce1f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,10 +943,29 @@ jobs:
943943
matrix:
944944
os: [ubuntu-latest, windows-latest, macos-latest]
945945
steps:
946+
- name: Inspect OpenSSL install (test)
947+
if: runner.os == 'Windows'
948+
run: |
949+
echo "C:\Program Files\OpenSSL"
950+
dir "C:\Program Files\OpenSSL"
951+
echo "C:\Program Files\OpenSSL\bin\PEM"
952+
dir "C:\Program Files\OpenSSL\bin\PEM"
953+
echo "C:\Program Files\OpenSSL\bin\cnf"
954+
dir "C:\Program Files\OpenSSL\bin\cnf"
955+
echo "C:\Program Files\OpenSSL\lib\VC"
956+
dir "C:\Program Files\OpenSSL\lib\VC"
946957
- uses: actions/checkout@v4
947958
with:
948959
submodules: true
949960
- uses: ./.github/actions/install-rust
961+
- name: Install OpenSSL (Windows)
962+
if: runner.os == 'Windows'
963+
shell: powershell
964+
run: |
965+
$opensslCertFile = "C:\Program Files\OpenSSL\certs\ca-bundle.crt"
966+
"SSL_CERT_FILE=$opensslCertFile" | Out-File -FilePath $env:GITHUB_ENV -Append
967+
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
968+
vcpkg install openssl:x64-windows-static-md
950969
- run: cargo test -p wasmtime-wasi-tls-openssl
951970
- run: cargo test -p wasmtime-wasi-tls-nativetls
952971

0 commit comments

Comments
 (0)