Skip to content

Fixes CI and improves error reporting. #7

Fixes CI and improves error reporting.

Fixes CI and improves error reporting. #7

Workflow file for this run

name: Build
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: 0.13.0
- name: Basic Build
run: |
zig build
- name: Exercise Build options
run: |
zig build -Dstatic-rtc=1980-01-01
zig build -Dstatic-rtc=2107-01-01
zig build -Dsector-size=512
zig build -Dsector-size=1024
zig build -Dsector-size=2028
zig build -Dsector-size=4096
zig build -Dsector-size=512:4096
zig build -Dsector-size=1024:4096
zig build -Dsector-size=2028:4096
zig build -Dvolume-count=1
zig build -Dvolume-count=2
zig build -Dvolume-count=31
zig build -Dvolume-names=C
zig build -Dvolume-names=C,D,E,F