From 10e6f6343b246085c79f039cae9fa46549a91812 Mon Sep 17 00:00:00 2001 From: Jay Petacat Date: Tue, 4 Aug 2026 16:30:11 -0600 Subject: [PATCH] CI: Beef up test matrix and workaround macOS failures --- .github/workflows/ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 854fdddf4..9811de282 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,8 +14,18 @@ jobs: strategy: fail-fast: false matrix: + zig-version: [0.15.0, 0.16.0, master] os: [ubuntu-latest, macos-latest, windows-latest] + # Zig 0.15.0 does not work with newer Xcode in latest macOS image. + # https://codeberg.org/ziglang/zig/issues/31658 + include: + - zig-version: 0.15.0 + os: macos-15 + exclude: + - zig-version: 0.15.0 + os: macos-latest runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.zig-version == 'master' }} steps: - name: Checkout uses: actions/checkout@v4 @@ -28,6 +38,8 @@ jobs: - name: Setup Zig uses: mlugg/setup-zig@v2 + with: + version: ${{ matrix.zig-version }} - name: Check Formatting run: zig fmt --ast-check --check .