Skip to content

Commit 90bf0e6

Browse files
fix(ci): remove Swatinem/rust-cache from maturin build jobs
Cached pyo3-build-config build scripts compiled on runners with different CPU microarchitectures cause SIGILL on cache restore. Remove rust-cache from python-test and numerical-equivalence jobs where maturin builds in release mode.
1 parent ee832c5 commit 90bf0e6

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
steps:
3434
- uses: actions/checkout@v4
3535
- uses: dtolnay/rust-toolchain@stable
36-
- uses: Swatinem/rust-cache@v2
3736
- uses: actions/setup-python@v5
3837
with:
3938
python-version: ${{ matrix.python-version }}

.github/workflows/numerical-equivalence.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
repos='https://cloud.r-project.org'
2626
)"
2727
- uses: dtolnay/rust-toolchain@stable
28-
- uses: Swatinem/rust-cache@v2
2928
- uses: actions/setup-python@v5
3029
with:
3130
python-version: "3.12"
@@ -58,7 +57,6 @@ jobs:
5857
repos='https://cloud.r-project.org'
5958
)"
6059
- uses: dtolnay/rust-toolchain@stable
61-
- uses: Swatinem/rust-cache@v2
6260
- uses: actions/setup-python@v5
6361
with:
6462
python-version: "3.12"

0 commit comments

Comments
 (0)