diff --git a/.github/workflows/zig.yml b/.github/workflows/zig.yml index 0c14515..0b0a9cd 100644 --- a/.github/workflows/zig.yml +++ b/.github/workflows/zig.yml @@ -7,24 +7,32 @@ on: jobs: test-linux: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + zig: ["0.12.0", "0.13.0"] steps: - uses: actions/checkout@v3 with: submodules: recursive - uses: goto-bus-stop/setup-zig@v2 with: - version: 0.12.0 + version: ${{ matrix.zig }} - run: zig build - run: zig build test test-macos: runs-on: macos-latest + strategy: + fail-fast: false + matrix: + zig: ["0.12.0", "0.13.0"] steps: - uses: actions/checkout@v3 with: submodules: recursive - uses: goto-bus-stop/setup-zig@2a9625d550eefc3a9b1a43d342ad655f563f8241 with: - version: 0.12.0 + version: ${{ matrix.zig }} - run: brew install pcre - run: zig build - run: zig build test diff --git a/.gitignore b/.gitignore index 030ff41..e148bfe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ -/zig-* +/zig-out +/.zig-cache koino.code-workspace # https://github.com/kivikakk/htmlentities.zig/issues/10 src/entities.zig