Skip to content

Commit

Permalink
v1.18: windows: Use vcpkg for openssl dep (backport of #73) (solana-l…
Browse files Browse the repository at this point in the history
…abs#86)

windows: Use vcpkg for openssl dep (#73)

(cherry picked from commit b78c070)

Co-authored-by: Jon C <[email protected]>
  • Loading branch information
mergify[bot] and joncinque committed Mar 5, 2024
1 parent 5b1a4b2 commit 8caa377
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,8 @@ jobs:
id: build
shell: bash
run: |
choco install openssl --version=3.1.1
if [[ -d "C:\Program Files\OpenSSL" ]]; then
echo "OPENSSL_DIR: C:\Program Files\OpenSSL"
export OPENSSL_DIR="C:\Program Files\OpenSSL"
elif [[ -d "C:\Program Files\OpenSSL-Win64" ]]; then
echo "OPENSSL_DIR: C:\Program Files\OpenSSL-Win64"
export OPENSSL_DIR="C:\Program Files\OpenSSL-Win64"
else
echo "can't determine OPENSSL_DIR"
exit 1
fi
vcpkg install openssl:x64-windows-static-md
vcpkg integrate install
choco install protoc
export PROTOC="C:\ProgramData\chocolatey\lib\protoc\tools\bin\protoc.exe"
source /tmp/env.sh
Expand Down

0 comments on commit 8caa377

Please sign in to comment.