Skip to content

Commit

Permalink
Allow to build musl linux wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
pemistahl committed Mar 15, 2024
1 parent a9ae805 commit f4b3322
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,29 +110,24 @@ jobs:
strategy:
matrix:
target: [ x86_64, x86, aarch64 ]
linux: [ auto, musllinux_1_2 ]

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'

- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 pypy3.10
sccache: 'true'
manylinux: auto
manylinux: ${{ matrix.linux }}

- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: linux-${{ matrix.target }}-wheels
name: linux-${{ matrix.linux }}-${{ matrix.target }}-wheels
path: dist

python-windows-release-build:
Expand All @@ -149,13 +144,6 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
architecture: ${{ matrix.target }}
cache: 'pip'

- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -183,12 +171,6 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'

- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down

0 comments on commit f4b3322

Please sign in to comment.