Skip to content

Merge pull request #6 from blurrycat/feat/ci #1

Merge pull request #6 from blurrycat/feat/ci

Merge pull request #6 from blurrycat/feat/ci #1

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
zig-version: ["0.14.0"]
os:
- ubuntu-latest
# - macos-latest # Does not build yet
# - windows-latest # Does not pass tests
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: ${{ matrix.zig-version }}
- name: Check Formatting
run: zig fmt --ast-check --check .
- name: Build
run: zig build --summary all
- name: Test
run: zig build test --summary all