diff --git a/.github/workflows/qc.yaml b/.github/workflows/qc.yaml index fb7db8d..04d0365 100644 --- a/.github/workflows/qc.yaml +++ b/.github/workflows/qc.yaml @@ -127,7 +127,7 @@ jobs: # by `cargo test`) to be _big enough_. Setting it to 8 MiB - run: RUST_MIN_STACK=8388608 cargo test --workspace --all-features - cargo-test-mac: + cargo-test-mac-x86-64: runs-on: macos-13 steps: - uses: actions/checkout@v3 @@ -145,6 +145,24 @@ jobs: # by `cargo test`) to be _big enough_. Setting it to 8 MiB - run: RUST_MIN_STACK=8388608 cargo test --workspace --all-features + cargo-test-mac-m1: + runs-on: macos-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/cache@v3 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + # liboqs requires quite a lot of stack memory, thus we adjust + # the default stack size picked for new threads (which is used + # by `cargo test`) to be _big enough_. Setting it to 8 MiB + - run: RUST_MIN_STACK=8388608 cargo test --workspace --all-features + cargo-test-nix-devshell-x86_64-linux: runs-on: - ubuntu-latest