Skip to content

Commit b57eecd

Browse files
committed
ci: build and test Rust on all platforms
I believe we didn't currently due this due to cross-compiling issues. Now that we've adopted native ARM runners everywhere we can have nice things.
1 parent 7501c85 commit b57eecd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ jobs:
7777
architecture: ${{ matrix.arch }}
7878

7979
- name: Install Rust
80-
if: matrix.arch == 'x64'
8180
uses: dtolnay/rust-toolchain@v1
8281
with:
8382
toolchain: stable
@@ -90,17 +89,11 @@ jobs:
9089
python -m pip install --require-hashes -r ci/requirements.txt
9190
9291
- name: Build (Rust)
93-
if: matrix.arch == 'x64'
9492
env:
9593
PIP_CONSTRAINT: 'ci/constraints.txt'
9694
run: |
9795
python -m pip install --config-settings='--build-option=--rust-backend' -e .
9896
99-
- name: Build (No Rust)
100-
if: matrix.arch != 'x64'
101-
run: |
102-
python -m pip install -e .
103-
10497
- name: Test C Backend
10598
run: |
10699
pytest --numprocesses=auto --hypothesis-profile=${HYPOTHESIS_PROFILE} -v tests/
@@ -112,7 +105,6 @@ jobs:
112105
pytest --numprocesses=auto --hypothesis-profile=${HYPOTHESIS_PROFILE} -v tests/
113106
114107
- name: Test Rust Backend
115-
if: matrix.arch == 'x64'
116108
# Rust backend is currently experimental. So ignore failures in it.
117109
continue-on-error: true
118110
env:

0 commit comments

Comments
 (0)