diff --git a/.github/actions/setup/action.yaml b/.github/actions/setup/action.yaml index 2d84370..f9188a0 100644 --- a/.github/actions/setup/action.yaml +++ b/.github/actions/setup/action.yaml @@ -7,5 +7,7 @@ runs: steps: - uses: swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2 - uses: homebrew/actions/setup-homebrew@e99025eb970cfa124b8284a35463d87426917478 # main + if: runner.os != 'Windows' - run: brew install autoconf automake libtool shell: sh + if: runner.os != 'Windows' diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d55212f..76fbe6e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -13,13 +13,18 @@ jobs: - ubuntu-latest - ubuntu-26.04-arm - macos-latest + include: + - os: windows-latest + options: --no-default-features --features cmake + - os: windows-11-arm + options: --no-default-features --features cmake runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: submodules: true - uses: ./.github/actions/setup - - run: cargo build + - run: cargo build ${{ matrix.options }} unit_test: strategy: fail-fast: false @@ -31,6 +36,11 @@ jobs: options: - - --no-default-features --features cmake + include: + - os: windows-latest + options: --no-default-features --features cmake + - os: windows-11-arm + options: --no-default-features --features cmake runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1