Skip to content

Commit

Permalink
CI: Don't test bitpolymul on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
robinhundt committed Jan 30, 2024
1 parent 7579233 commit 4793e6c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
runs-on: "${{ matrix.os }}"
strategy:
matrix:
include:
- os: "ubuntu-latest"
- os: "windows-latest"
- os: "macos-14"
exclude: "--exclude bitpolymul --exclude bitpolymul-sys"
features: "aby2,bench-api,silent-ot,silent-ot-libote-codes"
os: ["ubuntu-latest", "windows-latest", "macos-14"]
steps:
- name: Check out repository
Expand All @@ -28,8 +34,12 @@ jobs:
run: rustup override set ${{steps.toolchain.outputs.name}}
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Test
- name: Run tests
if: ${{ matrix.os != 'macos-14' }}
run: cargo test --workspace --verbose --all-features --no-fail-fast
- name: Run tests (macos)
if: ${{ matrix.os == 'macos-14' }}
run: cargo test --workspace --verbose ${{ matrix.exclude }} --features ${{ matrix.features }}
lint:
name: Lint
runs-on: "ubuntu-latest"
Expand Down

0 comments on commit 4793e6c

Please sign in to comment.