Skip to content

Commit 4b86e46

Browse files
committed
Use setup-cross-toolchain-action instead of cross
1 parent 8869f59 commit 4b86e46

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,24 @@ jobs:
4848
- run: cargo test --workspace --all-features --release
4949

5050
cross:
51-
name: cross test --target ${{ matrix.target }}
51+
name: cargo test --target ${{ matrix.target }}
5252
strategy:
5353
fail-fast: false
5454
matrix:
5555
target:
56-
- i686-unknown-linux-gnu
5756
- aarch64-unknown-linux-gnu
57+
- armv7-unknown-linux-gnueabihf
58+
- i686-unknown-linux-gnu
5859
runs-on: ubuntu-latest
5960
steps:
6061
- uses: actions/checkout@v3
6162
- name: Install Rust
6263
run: rustup update nightly && rustup default nightly
63-
- name: Install cross
64-
uses: taiki-e/install-action@cross
65-
- run: cross test --target ${{ matrix.target }} --workspace --all-features
66-
- run: cross test --target ${{ matrix.target }} --workspace --all-features --release
67-
# TODO: https://github.com/rust-lang/futures-rs/issues/2451
68-
if: matrix.target != 'aarch64-unknown-linux-gnu'
64+
- uses: taiki-e/setup-cross-toolchain-action@v1
65+
with:
66+
target: ${{ matrix.target }}
67+
- run: cargo test --target ${{ matrix.target }} --workspace --all-features $DOCTEST_XCOMPILE
68+
- run: cargo test --target ${{ matrix.target }} --workspace --all-features --release $DOCTEST_XCOMPILE
6969

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

0 commit comments

Comments
 (0)