Skip to content

Commit

Permalink
Separate the job of building musllinux
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquan committed Jul 2, 2024
1 parent 42c1a59 commit 1bd0e77
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,20 @@ jobs:
args: --release --out dist --find-interpreter
sccache: 'true'
manylinux: auto
- name: Build musl wheels
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-py-${{ matrix.python-version }}-linux-${{ matrix.platform.target }}
path: dist

musl_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: x86_64-unknown-linux-musl
Expand All @@ -59,7 +72,7 @@ jobs:
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-py-${{ matrix.python-version }}-linux-${{ matrix.platform.target }}
name: wheels-py3.12-musllinux-x86_64
path: dist

windows:
Expand Down

0 comments on commit 1bd0e77

Please sign in to comment.