Skip to content

Commit 1681666

Browse files
committed
Test i686 as a target only
It shouldn't really matter to us if this is "cross-compiled" from x86_64, and this way we won't have to use `rustup --force-non-host`.
1 parent d179ea9 commit 1681666

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ jobs:
5858
sudo apt-get update
5959
sudo apt-get install gcc-multilib
6060
- uses: actions/checkout@v4
61-
- uses: dtolnay/rust-toolchain@master
61+
- uses: dtolnay/rust-toolchain@stable
6262
with:
63-
toolchain: stable-i686-unknown-linux-gnu
64-
- run: cargo build --verbose
65-
- run: cargo test --verbose --package rayon
66-
- run: cargo test --verbose --package rayon-core
63+
targets: i686-unknown-linux-gnu
64+
- run: cargo build --verbose --target i686-unknown-linux-gnu
65+
- run: cargo test --verbose --target i686-unknown-linux-gnu --package rayon
66+
- run: cargo test --verbose --target i686-unknown-linux-gnu --package rayon-core
6767

6868
# wasm32-unknown-unknown builds, and even has the runtime fallback for
6969
# unsupported threading, but we don't have an environment to execute in.

0 commit comments

Comments
 (0)