diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index ff99801..4365c6f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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 @@ -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"