Skip to content

Commit 250c861

Browse files
authored
Update CI.yml
1 parent ade0b88 commit 250c861

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/CI.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
target: [x86_64]
26+
target: [x86_64-unknown-linux-gnu]
2727
steps:
2828
- uses: actions/checkout@v4
2929
with:
@@ -35,7 +35,9 @@ jobs:
3535
uses: PyO3/maturin-action@v1
3636
with:
3737
target: ${{ matrix.target }}
38-
args: --release --out dist --find-interpreter
38+
rust-toolchain: nightly
39+
rust-components: rust-src
40+
args: --release --out dist --find-interpreter -Z build-std=std,panic_abort
3941
sccache: 'true'
4042
manylinux: auto
4143
- name: Upload wheels
@@ -48,7 +50,7 @@ jobs:
4850
runs-on: windows-latest
4951
strategy:
5052
matrix:
51-
target: [x64]
53+
target: [x86_64-pc-windows-msvc]
5254
steps:
5355
- uses: actions/checkout@v4
5456
with:
@@ -61,7 +63,9 @@ jobs:
6163
uses: PyO3/maturin-action@v1
6264
with:
6365
target: ${{ matrix.target }}
64-
args: --release --out dist --find-interpreter
66+
rust-toolchain: nightly
67+
rust-components: rust-src
68+
args: --release --out dist --find-interpreter -Z build-std=std,panic_abort
6569
sccache: 'true'
6670
- name: Upload wheels
6771
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)