1414
1515jobs :
1616 linux :
17- name : Linux ${{ matrix.manylinux }} ${{ matrix. target }} py${{ matrix.python.version }}
17+ name : Linux ${{ matrix.target }} py${{ matrix.python.version }}
1818 runs-on : ubuntu-22.04
1919 strategy :
2020 fail-fast : false
2828 tag : cp312
2929 - version : " 3.13"
3030 tag : cp313
31- target : [x86_64, x86, aarch64, armv7, s390x, ppc64le]
32- manylinux : [auto]
31+ # rusty_v8 v147.4.0 publishes prebuilt Linux archives only for these
32+ # GNU targets. musllinux and other architectures require source builds.
33+ target : [x86_64, aarch64]
3334 steps :
3435 - uses : actions/checkout@v4
3536 - uses : actions/setup-python@v5
@@ -39,48 +40,13 @@ jobs:
3940 uses : PyO3/maturin-action@v1
4041 with :
4142 target : ${{ matrix.target }}
42- manylinux : ${{ matrix.manylinux }}
43+ manylinux : auto
4344 args : --release --out dist --interpreter python${{ matrix.python.version }}
4445 sccache : ${{ !startsWith(github.ref, 'refs/tags/') }}
4546 - name : Upload wheel
4647 uses : actions/upload-artifact@v4
4748 with :
48- name : wheels-linux-${{ matrix.manylinux }}-${{ matrix.target }}-${{ matrix.python.tag }}
49- path : dist
50- if-no-files-found : error
51-
52- musllinux :
53- name : Linux musllinux ${{ matrix.target }} py${{ matrix.python.version }}
54- runs-on : ubuntu-22.04
55- strategy :
56- fail-fast : false
57- matrix :
58- python :
59- - version : " 3.10"
60- tag : cp310
61- - version : " 3.11"
62- tag : cp311
63- - version : " 3.12"
64- tag : cp312
65- - version : " 3.13"
66- tag : cp313
67- target : [x86_64, x86, aarch64, armv7]
68- steps :
69- - uses : actions/checkout@v4
70- - uses : actions/setup-python@v5
71- with :
72- python-version : ${{ matrix.python.version }}
73- - name : Build wheel
74- uses : PyO3/maturin-action@v1
75- with :
76- target : ${{ matrix.target }}
77- manylinux : musllinux_1_2
78- args : --release --out dist --interpreter python${{ matrix.python.version }}
79- sccache : ${{ !startsWith(github.ref, 'refs/tags/') }}
80- - name : Upload wheel
81- uses : actions/upload-artifact@v4
82- with :
83- name : wheels-musllinux-${{ matrix.target }}-${{ matrix.python.tag }}
49+ name : wheels-linux-${{ matrix.target }}-${{ matrix.python.tag }}
8450 path : dist
8551 if-no-files-found : error
8652
@@ -115,30 +81,6 @@ jobs:
11581 architecture : x64
11682 version : " 3.13"
11783 tag : cp313
118- - runner : windows-latest
119- target : x86
120- python :
121- architecture : x86
122- version : " 3.10"
123- tag : cp310
124- - runner : windows-latest
125- target : x86
126- python :
127- architecture : x86
128- version : " 3.11"
129- tag : cp311
130- - runner : windows-latest
131- target : x86
132- python :
133- architecture : x86
134- version : " 3.12"
135- tag : cp312
136- - runner : windows-latest
137- target : x86
138- python :
139- architecture : x86
140- version : " 3.13"
141- tag : cp313
14284 - runner : windows-11-arm
14385 target : aarch64
14486 python :
@@ -235,7 +177,7 @@ jobs:
235177 name : Publish to PyPI
236178 runs-on : ubuntu-latest
237179 if : ${{ startsWith(github.ref, 'refs/tags/v') }}
238- needs : [linux, musllinux, windows, macos, sdist]
180+ needs : [linux, windows, macos, sdist]
239181 permissions :
240182 contents : read
241183 id-token : write
0 commit comments