Skip to content

Commit 3c08362

Browse files
committed
update CI
1 parent 67f4493 commit 3c08362

1 file changed

Lines changed: 7 additions & 35 deletions

File tree

.github/workflows/CI.yml

Lines changed: 7 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -26,53 +26,28 @@ jobs:
2626
platform:
2727
- runner: ubuntu-22.04
2828
target: x86_64
29+
manylinux: manylinux_2_24
2930
- runner: ubuntu-22.04
3031
target: aarch64
32+
manylinux: manylinux_2_24
3133
steps:
3234
- uses: actions/checkout@v4
3335
- uses: actions/setup-python@v5
3436
with:
35-
python-version: 3.x
37+
python-version: '3.x'
3638
- name: Build wheels
3739
uses: PyO3/maturin-action@v1
3840
with:
3941
target: ${{ matrix.platform.target }}
4042
args: --release --out dist --find-interpreter
4143
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
42-
manylinux: auto
44+
manylinux: ${{ matrix.platform.manylinux }}
4345
- name: Upload wheels
4446
uses: actions/upload-artifact@v4
4547
with:
4648
name: wheels-linux-${{ matrix.platform.target }}
4749
path: dist
4850

49-
musllinux:
50-
runs-on: ${{ matrix.platform.runner }}
51-
strategy:
52-
matrix:
53-
platform:
54-
- runner: ubuntu-22.04
55-
target: x86_64
56-
- runner: ubuntu-22.04
57-
target: aarch64
58-
steps:
59-
- uses: actions/checkout@v4
60-
- uses: actions/setup-python@v5
61-
with:
62-
python-version: 3.x
63-
- name: Build wheels
64-
uses: PyO3/maturin-action@v1
65-
with:
66-
target: ${{ matrix.platform.target }}
67-
args: --release --out dist --find-interpreter
68-
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
69-
manylinux: musllinux_1_2
70-
- name: Upload wheels
71-
uses: actions/upload-artifact@v4
72-
with:
73-
name: wheels-musllinux-${{ matrix.platform.target }}
74-
path: dist
75-
7651
windows:
7752
runs-on: ${{ matrix.platform.runner }}
7853
strategy:
@@ -84,7 +59,7 @@ jobs:
8459
- uses: actions/checkout@v4
8560
- uses: actions/setup-python@v5
8661
with:
87-
python-version: 3.x
62+
python-version: '3.x'
8863
architecture: ${{ matrix.platform.target }}
8964
- name: Build wheels
9065
uses: PyO3/maturin-action@v1
@@ -111,7 +86,7 @@ jobs:
11186
- uses: actions/checkout@v4
11287
- uses: actions/setup-python@v5
11388
with:
114-
python-version: 3.x
89+
python-version: '3.x'
11590
- name: Build wheels
11691
uses: PyO3/maturin-action@v1
11792
with:
@@ -143,13 +118,10 @@ jobs:
143118
name: Release
144119
runs-on: ubuntu-latest
145120
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
146-
needs: [linux, musllinux, windows, macos, sdist]
121+
needs: [linux, windows, macos, sdist]
147122
permissions:
148-
# Use to sign the release artifacts
149123
id-token: write
150-
# Used to upload release artifacts
151124
contents: write
152-
# Used to generate artifact attestation
153125
attestations: write
154126
steps:
155127
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)