Skip to content

Commit 8dbb68b

Browse files
committed
Use setup-cross-toolchain-action instead of cross
1 parent 75de7a4 commit 8dbb68b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,24 +44,24 @@ jobs:
4444
- run: cargo test --workspace --all-features --release
4545

4646
cross:
47-
name: cross test --target ${{ matrix.target }}
47+
name: cargo test --target ${{ matrix.target }}
4848
strategy:
4949
fail-fast: false
5050
matrix:
5151
target:
52-
- i686-unknown-linux-gnu
5352
- aarch64-unknown-linux-gnu
53+
- armv7-unknown-linux-gnueabihf
54+
- i686-unknown-linux-gnu
5455
runs-on: ubuntu-latest
5556
steps:
5657
- uses: actions/checkout@v2
5758
- name: Install Rust
5859
run: rustup update nightly && rustup default nightly
59-
- name: Install cross
60-
uses: taiki-e/install-action@cross
61-
- run: cross test --target ${{ matrix.target }} --workspace --all-features
62-
- run: cross test --target ${{ matrix.target }} --workspace --all-features --release
63-
# TODO: https://github.com/rust-lang/futures-rs/issues/2451
64-
if: matrix.target != 'aarch64-unknown-linux-gnu'
60+
- uses: taiki-e/setup-cross-toolchain-action@v1
61+
with:
62+
target: ${{ matrix.target }}
63+
- run: cargo test --target ${{ matrix.target }} --workspace --all-features $DOCTEST_XCOMPILE
64+
- run: cargo test --target ${{ matrix.target }} --workspace --all-features --release $DOCTEST_XCOMPILE
6565

6666
core-msrv:
6767
name: cargo +${{ matrix.rust }} build (futures-{core, io, sink})

0 commit comments

Comments
 (0)