Upgrade csvu to Zig 0.16 (#2)

* Port source to Zig 0.16

* Declare Zig 0.16 toolchain

* ci: add pr verification
This commit is contained in:
Tilo
2026-05-31 18:27:09 +02:00
committed by GitHub
parent 65d157852a
commit 1b5ad2bc40
8 changed files with 86 additions and 41 deletions

37
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,37 @@
name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
permissions:
contents: read
jobs:
verify:
name: Format, Test, Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Zig
uses: mlugg/setup-zig@v2
with:
version: 0.16.0
- name: Check formatting
run: zig fmt --check .
- name: Run tests
run: zig build test
- name: Build
run: zig build
- name: Build release mode
run: zig build -Doptimize=ReleaseSafe