Skip to content

Commit

Permalink
fix: openssl build
Browse files Browse the repository at this point in the history
  • Loading branch information
banditopazzo committed Oct 20, 2022
1 parent cccc857 commit d5578d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
use-cross: true
toolchain: "1.64"
command: build
args: --release --target=x86_64-unknown-linux-musl
args: --release --features "vendored-openssl" --target=x86_64-unknown-linux-musl

# Create Release
- name: Create Release
Expand Down
7 changes: 7 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[target.x86_64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main"
pre-build = ["apt install -y libssl-dev"]

[target.x86_64-unknown-linux-musl]
image = "ghcr.io/cross-rs/x86_64-unknown-linux-musl:main"
# pre-build = ["apt install -y <DEPS>"]

0 comments on commit d5578d2

Please sign in to comment.