Skip to content

instruction: use zig infered enum feature #13

instruction: use zig infered enum feature

instruction: use zig infered enum feature #13

Workflow file for this run

name: Build
on: [push, pull_request]
env:
zig_version: 0.13.0
jobs:
build:
strategy:
matrix:
#os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: ${{ env.zig_version }}
# Ubuntu-specific bit
- run: sudo apt-get update -qq
- run: sudo apt-get install -y libsdl2-dev
- run: zig build
- run: zig build test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: ${{ env.zig_version }}
- run: zig fmt --check src/*.zig