Build on arm64 for CI

See also #353, but that only affects builds when doing releases.
pull/370/head
Wilfred Hughes 2022-09-08 09:39:38 +07:00
parent 777d6d1f07
commit ff81f61fd4
1 changed files with 9 additions and 0 deletions

@ -19,6 +19,15 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- run: cargo +stable test
test_linux_arm64:
name: Test Linux arm64 (build only)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.57.0
- run: rustup target add aarch64-unknown-linux-gnu
- run: cargo build --target=aarch64-unknown-linux-gnu
test_mac:
name: Test macOS
runs-on: macos-latest