Skip to content

Commit

Permalink
Actually run cross compile tests
Browse files Browse the repository at this point in the history
Previously we where not actually running the tests becuase we where not
using --all and only testing the bin crate in the workspace.
  • Loading branch information
jkilpatr committed Sep 19, 2023
1 parent db534d9 commit 45307fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,31 +55,31 @@ jobs:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- name: Cross test mips
run: cargo install cross && cross test --target mips-unknown-linux-musl --verbose -- --test-threads=1
run: cargo install cross && cross test --target mips-unknown-linux-musl --verbose --all -- --test-threads=1
cross-mipsel:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- name: Cross test mipsel
run: cargo install cross && cross test --target mipsel-unknown-linux-musl --verbose -- --test-threads=1
run: cargo install cross && cross test --target mipsel-unknown-linux-musl --verbose --all -- --test-threads=1
cross-aarch64:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- name: Cross test aarch64
run: cargo install cross && cross test --target aarch64-unknown-linux-musl --verbose -- --test-threads=1
run: cargo install cross && cross test --target aarch64-unknown-linux-musl --verbose --all -- --test-threads=1
cross-armv7:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- name: Cross test armv7
run: cargo install cross && cross test --target armv7-unknown-linux-musleabihf --verbose -- --test-threads=1
run: cargo install cross && cross test --target armv7-unknown-linux-musleabihf --verbose --all -- --test-threads=1
legacy_integration-test-with-backcompat:
needs: test
runs-on: ubuntu-latest
Expand Down Expand Up @@ -144,4 +144,4 @@ jobs:
- name: Install Wireguard
run: sudo apt-get update && sudo apt install -y wireguard linux-source linux-headers-$(uname -r) build-essential && sudo modprobe wireguard
- name: Run integration test
run: bash scripts/integration_tests/all-up-test.sh MULTI_EXIT
run: bash scripts/integration_tests/all-up-test.sh MULTI_EXIT

0 comments on commit 45307fe

Please sign in to comment.