Refactor: Comprehensive code review and documentation overhaul #72
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
paths: | |
- ".github/workflows/test.yml" | |
- "**.zig" | |
- "**.zon" | |
pull_request: | |
paths: | |
- ".github/workflows/test.yml" | |
- "**.zig" | |
- "**.zon" | |
jobs: | |
test: | |
strategy: | |
matrix: | |
include: | |
- zig-version: master | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Grab Zig | |
uses: mlugg/setup-zig@v2 | |
with: | |
version: ${{ matrix.zig-version }} | |
- name: Tests master | |
run: | | |
zig build test --summary all | |
- name: Linux modules | |
run: | | |
zig build check -Dtarget=x86_64-linux-gnu -Doptimize=ReleaseFast | |
- name: macOS modules | |
run: | | |
zig build check -Dtarget=aarch64-macos-none -Doptimize=ReleaseFast | |
- name: Windows modules | |
run: | | |
zig build check -Dtarget=x86_64-windows-msvc -Doptimize=ReleaseFast | |
- name: WebAssembly modules | |
run: | | |
zig build check -Dtarget=wasm32-freestanding -Doptimize=ReleaseSmall |