Skip to content

Commit e6b32f9

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

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/CI.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ name: CI
88
on:
99
push:
1010
branches:
11-
- main
1211
- master
1312
tags:
1413
- '*'
@@ -36,10 +35,10 @@ jobs:
3635
with:
3736
target: ${{ matrix.target }}
3837
rust-toolchain: nightly
39-
rust-components: rust-src
4038
args: --release --out dist --find-interpreter -Z build-std=std,panic_abort
4139
sccache: 'true'
4240
manylinux: auto
41+
before-script-linux: rustup component add rust-src --toolchain nightly
4342
- name: Upload wheels
4443
uses: actions/upload-artifact@v4
4544
with:
@@ -58,13 +57,13 @@ jobs:
5857
- uses: actions/setup-python@v5
5958
with:
6059
python-version: '3.10'
61-
architecture: ${{ matrix.target }}
60+
- name: Install rust-src
61+
run: rustup component add rust-src --toolchain nightly
6262
- name: Build wheels
6363
uses: PyO3/maturin-action@v1
6464
with:
6565
target: ${{ matrix.target }}
6666
rust-toolchain: nightly
67-
rust-components: rust-src
6867
args: --release --out dist --find-interpreter -Z build-std=std,panic_abort
6968
sccache: 'true'
7069
- name: Upload wheels

0 commit comments

Comments
 (0)