Skip to content

Commit 2d857d1

Browse files
authored
keccak: test on aarch64-apple-darwin (#96)
Uses the native `macos-latest` runner. I'm curious if this reproduces a warning I'm seeing locally.
1 parent b7f8770 commit 2d857d1

1 file changed

Lines changed: 23 additions & 10 deletions

File tree

.github/workflows/keccak.yml

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,24 +51,37 @@ jobs:
5151

5252
test:
5353
needs: set-msrv
54-
runs-on: ubuntu-latest
5554
strategy:
5655
matrix:
57-
rust:
58-
- ${{needs.set-msrv.outputs.msrv}}
59-
- stable
56+
include:
57+
# AMD64 Linux
58+
- target: x86_64-unknown-linux-gnu
59+
platform: ubuntu-latest
60+
rust: ${{needs.set-msrv.outputs.msrv}}
61+
- target: x86_64-unknown-linux-gnu
62+
platform: ubuntu-latest
63+
rust: stable
64+
# ARM64 macOS
65+
- target: aarch64-apple-darwin
66+
platform: macos-latest
67+
rust: ${{needs.set-msrv.outputs.msrv}}
68+
- target: aarch64-apple-darwin
69+
platform: macos-latest
70+
rust: stable
71+
runs-on: ${{ matrix.platform }}
6072
steps:
6173
- uses: actions/checkout@v4
6274
- uses: RustCrypto/actions/cargo-cache@master
6375
- uses: dtolnay/rust-toolchain@master
6476
with:
6577
toolchain: ${{ matrix.rust }}
66-
- run: cargo check --no-default-features
67-
- run: cargo check
68-
- run: cargo check --features no_unroll
69-
- run: cargo test --no-default-features
70-
- run: cargo test
71-
- run: cargo test --features no_unroll
78+
targets: ${{ matrix.target }}
79+
- run: cargo check --no-default-features --target ${{ matrix.target }}
80+
- run: cargo check --target ${{ matrix.target }}
81+
- run: cargo check --features no_unroll --target ${{ matrix.target }}
82+
- run: cargo test --no-default-features --target ${{ matrix.target }}
83+
- run: cargo test --target ${{ matrix.target }}
84+
- run: cargo test --features no_unroll --target ${{ matrix.target }}
7285

7386
test-simd:
7487
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)