Skip to content

Commit ed82d5e

Browse files
committed
fix: add --find-interpreter for cross-compiled wheel builds
1 parent 5339afc commit ed82d5e

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
linux:
1515
runs-on: ${{ matrix.platform.runner }}
1616
strategy:
17+
fail-fast: false
1718
matrix:
1819
platform:
1920
- runner: ubuntu-latest
@@ -31,7 +32,7 @@ jobs:
3132
uses: PyO3/maturin-action@v1
3233
with:
3334
target: ${{ matrix.platform.target }}
34-
args: --release --out dist
35+
args: --release --out dist --find-interpreter
3536
sccache: "true"
3637
manylinux: auto
3738

@@ -45,6 +46,7 @@ jobs:
4546
macos:
4647
runs-on: ${{ matrix.platform.runner }}
4748
strategy:
49+
fail-fast: false
4850
matrix:
4951
platform:
5052
- runner: macos-13
@@ -62,7 +64,7 @@ jobs:
6264
uses: PyO3/maturin-action@v1
6365
with:
6466
target: ${{ matrix.platform.target }}
65-
args: --release --out dist
67+
args: --release --out dist --find-interpreter
6668
sccache: "true"
6769

6870
- name: Upload wheels
@@ -75,6 +77,7 @@ jobs:
7577
windows:
7678
runs-on: ${{ matrix.platform.runner }}
7779
strategy:
80+
fail-fast: false
7881
matrix:
7982
platform:
8083
- runner: windows-latest
@@ -91,7 +94,7 @@ jobs:
9194
uses: PyO3/maturin-action@v1
9295
with:
9396
target: ${{ matrix.platform.target }}
94-
args: --release --out dist
97+
args: --release --out dist --find-interpreter
9598
sccache: "true"
9699

97100
- name: Upload wheels

0 commit comments

Comments
 (0)