Skip to content

Commit

Permalink
update: action tests for cross platform will be solved in another PR …
Browse files Browse the repository at this point in the history
…later
  • Loading branch information
erikziyunchi committed Jan 26, 2024
1 parent cb6edaf commit c22f8c6
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,32 +69,4 @@ jobs:
RUSTFLAGS: --cfg tokio_unstable

- name: Test
run: cargo test --verbose --workspace --all-features

test_non-amd64:
name: rust (${{ matrix.platform.os_name }}/${{ matrix.toolchain }})
runs-on: ${{ matrix.platform.os }}
strategy:
fail-fast: false
matrix:
platform:
- os_name: Linux-aarch64
os: ubuntu-20.04
target: aarch64-unknown-linux-gnu
- os_name: Linux-riscv64
os: ubuntu-20.04
target: riscv64gc-unknown-linux-gnu
- os_name: macOS-aarch64
os: macOS-latest
target: aarch64-apple-darwin
toolchain:
- stable
steps:
- uses: actions/checkout@v4
- name: Tests
uses: houseabsolute/actions-rust-cross@v0 # try rust-cross
with:
command: "test"
target: ${{ matrix.platform.target }}
toolchain: ${{ matrix.toolchain }}
args: "--verbose --workspace --all-features"
run: cargo test --verbose --workspace --all-features

0 comments on commit c22f8c6

Please sign in to comment.