Skip to content

CI

CI #783

Workflow file for this run

name: CI
on:
pull_request: {}
schedule:
- cron: "0 13 * * *"
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: master
- run: zig fmt --check *.zig src/*.zig
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: goto-bus-stop/setup-zig@v2
with:
version: master
- name: Build examples
run: zig build run-example-basic
- name: Build and test
run: zig build test --summary all