-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: vendor correct version of OpenSSL (#580)
- Loading branch information
1 parent
3c85923
commit 1e29425
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|
@@ -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' | ||
|