Skip to content

move to the Zig build System #6

move to the Zig build System

move to the Zig build System #6

Workflow file for this run

name: build
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
strategy:
matrix:
os: [windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Set up Zig
uses: mlugg/setup-zig@v1
- name: Build
if: matrix.os != 'windows-latest'
run: zig build -Doptimize=ReleaseFast -Dno-fileselector
- name: Build (windows)
if: matrix.os == 'windows-latest'
run: zig build -Doptimize=ReleaseFast
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}
path: zig-out