Skip to content

Commit

Permalink
Zig build - v0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kassane committed Aug 4, 2024
1 parent 53c40dd commit dcb6a5b
Show file tree
Hide file tree
Showing 5 changed files with 202 additions and 569 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Zig

on: [push, pull_request]

jobs:
build:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: mlugg/setup-zig@v1
with:
version: master
- name: (Zig) Build
run: zig build --summary all -Dtests -freference-trace

cross:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
targets:
- aarch64-linux-gnu
- mipsel-linux-musl
- aarch64-linux-musl
- riscv64-linux-musl
- x86_64-linux-musl
- x86-linux-musl
steps:
- uses: actions/checkout@v4
- uses: mlugg/setup-zig@v1
with:
version: master
- name: Build Summary ${{ matrix.targets }}
run: zig build --summary all -Dtests -freference-trace -Dtarget=${{ matrix.targets }}
Loading

0 comments on commit dcb6a5b

Please sign in to comment.