Skip to content

Zig Build

Zig Build #108

Workflow file for this run

name: Zig Build
on:
push:
branches: [ zig-pkg ]
pull_request:
branches: [ zig-pkg ]
schedule:
- cron: '13 8 * * 0'
jobs:
build:
strategy:
fail-fast: false
matrix:
targets:
- x86_64-linux-gnu
- x86-linux-gnu
- x86_64-linux-musl
- x86-linux-musl
- aarch64-linux-gnu
- aarch64-linux-musl
- riscv64-linux-musl
- mipsel-linux-musl
- mips-linux-musl
- powerpc64-linux-musl
- x86_64-macos
- aarch64-macos
- x86_64-windows
- x86-windows
- aarch64-windows
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- uses: korandoru/setup-zig@v1
with:
zig-version: master
- name: Build Summary ${{ matrix.targets }}
run: zig build -DTests --summary all -freference-trace -Dtarget=${{ matrix.targets }}