Skip to content

Commit

Permalink
fix: vendor correct version of OpenSSL (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper authored May 27, 2021
1 parent 3c85923 commit 1e29425
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ jobs:
if: matrix.build == 'macos'
run: brew install p7zip

- name: Install OpenSSL (MacOS)
if: matrix.build == 'macos'
run: brew install [email protected]

- name: Install musl-tools (MUSL Linux)
if: matrix.build == 'linux-musl'
run: |
Expand All @@ -80,16 +84,23 @@ jobs:
run: |
rustup target add ${{ env.LINUX_GNU_TARGET }}
cargo build --release --target ${{ env.LINUX_GNU_TARGET }}
env:
OPENSSL_STATIC: 1

- name: Build (MUSL Linux)
if: matrix.build == 'linux-musl'
run: |
rustup target add ${{ env.LINUX_MUSL_TARGET }}
cargo build --release --no-default-features --target ${{ env.LINUX_MUSL_TARGET }}
env:
OPENSSL_STATIC: 1 # statically link OpenSSL

- name: Build (MacOS)
if: matrix.build == 'macos'
run: cargo build --release
env:
OPENSSL_DIR: /usr/local/opt/[email protected] # don't use system install of LibreSSL
OPENSSL_STATIC: 1 # statically link OpenSSL

- name: Build (Windows)
if: matrix.build == 'windows'
Expand Down

0 comments on commit 1e29425

Please sign in to comment.