Skip to content

Commit 7d5bd12

Browse files
committed
fix(ci): correct maturin workflow inputs
1 parent 50dddca commit 7d5bd12

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/python-wheels.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,19 @@ jobs:
1616
include:
1717
- os: ubuntu-22.04
1818
platform: manylinux_x86_64
19+
target: x86_64-unknown-linux-gnu
1920
- os: ubuntu-22.04
2021
platform: manylinux_aarch64
22+
target: aarch64-unknown-linux-gnu
2123
- os: macos-13
2224
platform: macos_x86_64
25+
target: x86_64-apple-darwin
2326
- os: macos-14
2427
platform: macos_aarch64
28+
target: aarch64-apple-darwin
2529
- os: windows-2022
2630
platform: windows_x86_64
31+
target: x86_64-pc-windows-msvc
2732

2833
steps:
2934
- uses: actions/checkout@v4
@@ -37,11 +42,10 @@ jobs:
3742
uses: PyO3/maturin-action@v1
3843
with:
3944
command: build
40-
args: --release --out dist
45+
args: --release --out dist -F python-ffi
4146
maturin-version: "1.5.1"
4247
manylinux: auto
43-
target: ${{ matrix.platform }}
44-
features: python-ffi
48+
target: ${{ matrix.target }}
4549

4650
- name: Upload wheels
4751
uses: actions/upload-artifact@v4
@@ -64,9 +68,8 @@ jobs:
6468
uses: PyO3/maturin-action@v1
6569
with:
6670
command: sdist
67-
args: --out dist
71+
args: --out dist -F python-ffi
6872
maturin-version: "1.5.1"
69-
features: python-ffi
7073

7174
- name: Upload sdist
7275
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)