Skip to content

ci: add test matrix #41

ci: add test matrix

ci: add test matrix #41

Workflow file for this run

name: zig-test
env:
ZIG_VERSION: 0.13.0
on:
push:
branches:
- main
paths:
- "src/**/*.zig"
- "src/*.zig"
pull_request:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
zig-test:
name: zig test
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: mlugg/setup-zig@v1
with:
version: ${{ env.ZIG_VERSION }}
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: zig test constants.zig
- run: zig test fifo.zig
- run: zig test io.zig
- run: zig test time.zig
- run: zig test stdx.zig