Skip to content

Commit 264d7de

Browse files
authored
build: fix wheel build options (#375)
Signed-off-by: Luka Peschke <luka.peschke@toucantoco.com>
1 parent f6ba6e5 commit 264d7de

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
with:
106106
manylinux: auto
107107
command: build
108-
args: "-o dist"
108+
args: "-o dist --features __maturin"
109109
target: ${{ steps.target.outputs.target }}
110110

111111
- name: Upload wheels

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
manylinux: auto
2323
command: build
24-
args: "--release -o dist"
24+
args: "--release -o dist --features __maturin"
2525
target: ${{ matrix.architecture == 'aarch64' && 'aarch64-unknown-linux-gnu' || null }}
2626
- name: Upload wheels
2727
uses: actions/upload-artifact@v4
@@ -42,7 +42,7 @@ jobs:
4242
uses: PyO3/maturin-action@v1
4343
with:
4444
command: build
45-
args: "--release -o dist"
45+
args: "--release -o dist --features __maturin"
4646
target: ${{ matrix.architecture == 'aarch64' && 'aarch64-apple-darwin' || 'x86_64-apple-darwin' }}
4747
- name: Upload wheels
4848
uses: actions/upload-artifact@v4
@@ -63,7 +63,7 @@ jobs:
6363
uses: PyO3/maturin-action@v1
6464
with:
6565
command: build
66-
args: "--release -o dist"
66+
args: "--release -o dist --features __maturin"
6767
- name: Upload wheels
6868
uses: actions/upload-artifact@v4
6969
with:

0 commit comments

Comments
 (0)