Skip to content

Commit

Permalink
workflows: bump checkout, simplify mac/windows.
Browse files Browse the repository at this point in the history
Explicit Windows target was needed when we were integrating with libpcre
from vcpkg.

Similarly, don't need to brew install pcre any more.
  • Loading branch information
kivikakk committed Jul 1, 2024
1 parent 5af9da1 commit 2835ce2
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/zig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ jobs:
test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.12.0
Expand All @@ -19,26 +17,21 @@ jobs:
test-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@2a9625d550eefc3a9b1a43d342ad655f563f8241
with:
version: 0.12.0
- run: brew install pcre
- run: zig build
- run: zig build test
test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.12.0
- run: zig build -Dtarget=x86_64-windows-msvc
- run: zig build -Dtarget=x86_64-windows-msvc test
- run: zig build
- run: zig build test
lint:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 2835ce2

Please sign in to comment.