Skip to content

Commit 2be9bb9

Browse files
Michael Freebornmfreeborn
authored andcommitted
remove cross tests from CI
1 parent 374ffd2 commit 2be9bb9

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,17 @@ jobs:
2020
run_tests:
2121
name: Run Rust tests
2222
runs-on: ubuntu-latest
23-
env:
24-
NATIVE_TARGET: ${{ matrix.target == 'x86_64-unknown-linux-gnu' }}
2523
strategy:
2624
fail-fast: false
27-
matrix:
28-
target: [x86_64-unknown-linux-gnu, armv7-unknown-linux-gnueabihf, arm-unknown-linux-gnueabihf]
2925
steps:
3026
- uses: actions/checkout@v3
3127

3228
- uses: dtolnay/rust-toolchain@stable
3329

34-
- name: Install cross
35-
run: cargo install cross --git https://github.com/cross-rs/cross
36-
if: env.NATIVE_TARGET == 'false'
37-
3830
- uses: Swatinem/rust-cache@v2
3931

40-
- name: Set test runner
41-
run: |
42-
if ${NATIVE_TARGET} == true; then
43-
echo "test_runner=cargo" >> $GITHUB_ENV
44-
else
45-
echo "test_runner=cross" >> $GITHUB_ENV
46-
fi
47-
4832
- name: Run tests
49-
run: ${{ env.test_runner }} test --no-fail-fast --verbose --target ${{ matrix.target }} -- --nocapture
33+
run: cargo test --no-fail-fast --verbose --target x86_64-unknown-linux-gnu -- --nocapture
5034

5135
lint:
5236
name: Check Rust code with rustfmt and clippy

0 commit comments

Comments
 (0)