Skip to content

Commit

Permalink
enable parallel ci builds for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanderc committed Oct 17, 2023
1 parent d3bdc4d commit 63eb94f
Showing 1 changed file with 25 additions and 4 deletions.
29 changes: 25 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@ on:
permissions:
contents: write
jobs:
build-artifacts:
build-pull-request:
strategy:
matrix:
target:
- "x86_64-linux-musl"
- "aarch64-linux-musl"
- "x86_64-macos"
- "aarch64-macos"
- "x86_64-windows"
- "aarch64-windows"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -14,9 +23,21 @@ jobs:
with:
version: 0.12.0-dev.790+ad6f8e3a5
- name: Build
run: zig build release -Doptimize=Debug
run: zig build -Dtarget=${{ matrix.target }}
test-pull-request:
strategy:
matrix:
os:
- "ubuntu-latest"
- "windows-latest"
- "macos-latest"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup Zig
uses: goto-bus-stop/[email protected]
with:
version: 0.12.0-dev.790+ad6f8e3a5
- name: Test
run: zig build test



0 comments on commit 63eb94f

Please sign in to comment.