Skip to content

Commit

Permalink
Update Ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dewmal committed Aug 13, 2024
1 parent 21104b2 commit 31c856f
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,20 +147,25 @@ jobs:
strategy:
matrix:
python:
[
{ version: "3.8", abi: "cp38-cp38" },
{ version: "3.9", abi: "cp39-cp39" },
{ version: "3.10", abi: "cp310-cp310" },
{ version: "3.11", abi: "cp311-cp311" },
{ version: "3.12", abi: "cp312-cp312" },
]
[
{ version: "3.8", abi: "cp38-cp38" },
{ version: "3.9", abi: "cp39-cp39" },
{ version: "3.10", abi: "cp310-cp310" },
{ version: "3.11", abi: "cp311-cp311" },
{ version: "3.12", abi: "cp312-cp312" },
]
target: [ x86_64, x86, aarch64, armv7, s390x, ppc64le ]
steps:
- uses: actions/checkout@v4
- name: Install OpenSSL
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev pkg-config
- name: Build Wheels
uses: PyO3/maturin-action@v1
env:
PYO3_CROSS_LIB_DIR: /opt/python/${{ matrix.python.abi }}/lib
OPENSSL_DIR: /usr/lib/ssl
with:
target: ${{ matrix.target }}
manylinux: auto
Expand All @@ -175,7 +180,7 @@ jobs:
--volume "${PWD}/dist:/artifacts"
install: |
apt update -y
apt install -y gcc musl-dev python3-dev
apt install -y gcc musl-dev python3-dev libssl-dev pkg-config
apt install -y --no-install-recommends software-properties-common
add-apt-repository ppa:deadsnakes/ppa
apt update -y
Expand Down

0 comments on commit 31c856f

Please sign in to comment.