Skip to content

Commit

Permalink
Create github action
Browse files Browse the repository at this point in the history
  • Loading branch information
photex authored Jun 8, 2024
1 parent aa4daf2 commit 60526af
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on: push

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
target: [ x86_64-linux, x86_64-windows, x86_64-macos, aarch64-linux, aarch64-macos ]
runs-on: ${{ matrix.os }}
name: Zig ${{ matrix.zig }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup Zig
uses: korandoru/setup-zig@v1
with:
zig-version: 0.13.0
- run: zig build -Doptimize=ReleaseFast -Dtarget=${{ matrix.target }}
- uses: actions/[email protected]
with:
path: zig-out

0 comments on commit 60526af

Please sign in to comment.