From 8f4141a159a5364046139dbdfbbe30dbbdc123bc Mon Sep 17 00:00:00 2001 From: Alice Bowman Date: Thu, 13 Jun 2024 12:27:58 +0200 Subject: [PATCH] added cargo-test runner for macos 86-64 --- .github/workflows/qc.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/qc.yaml b/.github/workflows/qc.yaml index e70e32c..f6dced1 100644 --- a/.github/workflows/qc.yaml +++ b/.github/workflows/qc.yaml @@ -127,6 +127,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: + runs-on: macos-13 + 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