Skip to content

Commit 360e26f

Browse files
fix musllinux release builds (#101)
1 parent e098272 commit 360e26f

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# This file is autogenerated by maturin v1.7.8
2-
# To update, run
3-
#
4-
# maturin generate-ci github
5-
#
61
name: release
72

83
on:
@@ -44,16 +39,19 @@ jobs:
4439
target: ppc64le
4540
steps:
4641
- uses: actions/checkout@v4
42+
4743
- uses: actions/setup-python@v5
4844
with:
4945
python-version: 3.x
46+
5047
- name: Build wheels
5148
uses: PyO3/maturin-action@v1
5249
with:
5350
target: ${{ matrix.platform.target }}
5451
args: --release --out dist --find-interpreter
5552
sccache: "true"
5653
manylinux: auto
54+
5755
- name: Upload wheels
5856
uses: actions/upload-artifact@v4
5957
with:
@@ -75,16 +73,18 @@ jobs:
7573
target: armv7
7674
steps:
7775
- uses: actions/checkout@v4
76+
7877
- uses: actions/setup-python@v5
7978
with:
8079
python-version: 3.x
80+
8181
- name: Build wheels
8282
uses: PyO3/maturin-action@v1
8383
with:
8484
target: ${{ matrix.platform.target }}
8585
args: --release --out dist --find-interpreter
86-
sccache: "true"
8786
manylinux: musllinux_1_2
87+
8888
- name: Upload wheels
8989
uses: actions/upload-artifact@v4
9090
with:
@@ -102,16 +102,19 @@ jobs:
102102
target: x86
103103
steps:
104104
- uses: actions/checkout@v4
105+
105106
- uses: actions/setup-python@v5
106107
with:
107108
python-version: 3.x
108109
architecture: ${{ matrix.platform.target }}
110+
109111
- name: Build wheels
110112
uses: PyO3/maturin-action@v1
111113
with:
112114
target: ${{ matrix.platform.target }}
113115
args: --release --out dist --find-interpreter
114116
sccache: "true"
117+
115118
- name: Upload wheels
116119
uses: actions/upload-artifact@v4
117120
with:
@@ -129,15 +132,18 @@ jobs:
129132
target: aarch64
130133
steps:
131134
- uses: actions/checkout@v4
135+
132136
- uses: actions/setup-python@v5
133137
with:
134138
python-version: 3.x
139+
135140
- name: Build wheels
136141
uses: PyO3/maturin-action@v1
137142
with:
138143
target: ${{ matrix.platform.target }}
139144
args: --release --out dist --find-interpreter
140145
sccache: "true"
146+
141147
- name: Upload wheels
142148
uses: actions/upload-artifact@v4
143149
with:
@@ -148,11 +154,13 @@ jobs:
148154
runs-on: ubuntu-latest
149155
steps:
150156
- uses: actions/checkout@v4
157+
151158
- name: Build sdist
152159
uses: PyO3/maturin-action@v1
153160
with:
154161
command: sdist
155162
args: --out dist
163+
156164
- name: Upload sdist
157165
uses: actions/upload-artifact@v4
158166
with:
@@ -179,10 +187,12 @@ jobs:
179187
attestations: write
180188
steps:
181189
- uses: actions/download-artifact@v4
190+
182191
- name: Generate artifact attestation
183192
uses: actions/attest-build-provenance@v2
184193
with:
185194
subject-path: "wheels-*/*"
195+
186196
- name: Publish to PyPI
187197
uses: PyO3/maturin-action@v1
188198
with:

0 commit comments

Comments
 (0)