Skip to content

Commit b6d551e

Browse files
committed
test
1 parent 1def31c commit b6d551e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,10 +943,33 @@ 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"
952+
dir "C:\Program Files\OpenSSL\bin"
953+
echo "C:\Program Files\OpenSSL\lib"
954+
dir "C:\Program Files\OpenSSL\lib"
955+
echo "C:\Program Files\OpenSSL\include"
956+
dir "C:\Program Files\OpenSSL\include"
957+
echo "C:\Program Files\OpenSSL\tests"
958+
dir "C:\Program Files\OpenSSL\tests"
959+
echo "C:\Program Files\OpenSSL\exp"
960+
dir "C:\Program Files\OpenSSL\exp"
946961
- uses: actions/checkout@v4
947962
with:
948963
submodules: true
949964
- uses: ./.github/actions/install-rust
965+
- name: Install OpenSSL (Windows)
966+
if: runner.os == 'Windows'
967+
shell: powershell
968+
run: |
969+
$opensslCertFile = "C:\Program Files\OpenSSL\certs\ca-bundle.crt"
970+
"SSL_CERT_FILE=$opensslCertFile" | Out-File -FilePath $env:GITHUB_ENV -Append
971+
echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
972+
vcpkg install openssl:x64-windows-static-md
950973
- run: cargo test -p wasmtime-wasi-tls-openssl
951974
- run: cargo test -p wasmtime-wasi-tls-nativetls
952975

0 commit comments

Comments
 (0)