Skip to content

Commit

Permalink
GA: install openssl for http crates binding
Browse files Browse the repository at this point in the history
  • Loading branch information
ZJaume committed Aug 2, 2024
1 parent 4ca0aba commit 0d73845
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,19 @@ jobs:
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
before-script-linux: |
case "${{ matrix.target }}" in
"aarch64" | "armv7" | "s390x" | "ppc64le")
# NOTE: pypa/manylinux docker images are Debian based
sudo apt-get update
sudo apt-get install -y pkg-config libssl-dev
;;
"x86" | "x86_64")
# NOTE: rust-cross/manylinux docker images are CentOS based
yum update -y
yum install -y openssl openssl-devel
;;
esac
target: ${{ matrix.platform.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
Expand Down

0 comments on commit 0d73845

Please sign in to comment.