@@ -19,14 +19,24 @@ jobs:
1919 strategy :
2020 matrix :
2121 platform :
22- - runner : ubuntu-latest
22+ - runner : ubuntu-22.04
2323 target : x86_64
24- - runner : ubuntu-latest
24+ manylinux : auto
25+ - runner : ubuntu-22.04
2526 target : x86
26- - runner : ubuntu-latest
27+ manylinux : auto
28+ - runner : ubuntu-22.04
29+ target : aarch64
30+ manylinux : " 2_28"
31+ - runner : ubuntu-22.04
2732 target : armv7
28- - runner : ubuntu-latest
33+ manylinux : auto
34+ - runner : ubuntu-22.04
35+ target : s390x
36+ manylinux : auto
37+ - runner : ubuntu-22.04
2938 target : ppc64le
39+ manylinux : auto
3040 steps :
3141 - uses : actions/checkout@v4
3242 - uses : actions/setup-python@v5
3646 uses : PyO3/maturin-action@v1
3747 with :
3848 target : ${{ matrix.platform.target }}
39- args : --release --out dist --find-interpreter -- manifest-path crates/cli/Cargo.toml -F duckdb/bundled
49+ args : --release --out dist --manifest-path crates/cli/Cargo.toml -F duckdb/bundled
4050 sccache : " true"
41- manylinux : auto
51+ manylinux : ${{ matrix.platform.manylinux }}
4252 - name : Upload wheels
4353 uses : actions/upload-artifact@v4
4454 with :
@@ -50,13 +60,13 @@ jobs:
5060 strategy :
5161 matrix :
5262 platform :
53- - runner : ubuntu-latest
63+ - runner : ubuntu-22.04
5464 target : x86_64
55- - runner : ubuntu-latest
65+ - runner : ubuntu-22.04
5666 target : x86
57- - runner : ubuntu-latest
67+ - runner : ubuntu-22.04
5868 target : aarch64
59- - runner : ubuntu-latest
69+ - runner : ubuntu-22.04
6070 target : armv7
6171 steps :
6272 - uses : actions/checkout@v4
6777 uses : PyO3/maturin-action@v1
6878 with :
6979 target : ${{ matrix.platform.target }}
70- args : --release --out dist --find-interpreter -- manifest-path crates/cli/Cargo.toml -F duckdb/bundled
80+ args : --release --out dist --manifest-path crates/cli/Cargo.toml -F duckdb/bundled
7181 sccache : " true"
7282 manylinux : musllinux_1_2
7383 - name : Upload wheels
95105 uses : PyO3/maturin-action@v1
96106 with :
97107 target : ${{ matrix.platform.target }}
98- args : --release --out dist --find-interpreter -- manifest-path crates/cli/Cargo.toml -F duckdb/bundled
108+ args : --release --out dist --manifest-path crates/cli/Cargo.toml -F duckdb/bundled
99109 sccache : " true"
100110 - name : Upload wheels
101111 uses : actions/upload-artifact@v4
@@ -121,7 +131,7 @@ jobs:
121131 uses : PyO3/maturin-action@v1
122132 with :
123133 target : ${{ matrix.platform.target }}
124- args : --release --out dist --find-interpreter -- manifest-path crates/cli/Cargo.toml -F duckdb/bundled
134+ args : --release --out dist --manifest-path crates/cli/Cargo.toml -F duckdb/bundled
125135 sccache : " true"
126136 - name : Upload wheels
127137 uses : actions/upload-artifact@v4
@@ -148,7 +158,7 @@ jobs:
148158 name : Release
149159 runs-on : ubuntu-latest
150160 if : ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
151- needs : [linux, musllinux, macos, sdist]
161+ needs : [linux, musllinux, windows, macos, sdist]
152162 environment :
153163 name : pypi
154164 url : https://pypi.org/p/stacrs-cli
@@ -159,10 +169,12 @@ jobs:
159169 steps :
160170 - uses : actions/download-artifact@v4
161171 - name : Generate artifact attestation
162- uses : actions/attest-build-provenance@v2
172+ uses : actions/attest-build-provenance@v1
163173 with :
164174 subject-path : " wheels-*/*"
165- - uses : PyO3/maturin-action@v1
175+ - name : Publish to PyPI
176+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
177+ uses : PyO3/maturin-action@v1
166178 with :
167179 command : upload
168180 args : --non-interactive --skip-existing wheels-*/*
0 commit comments