Skip to content

Merge pull request #6 from elpekenin/zon #21

Merge pull request #6 from elpekenin/zon

Merge pull request #6 from elpekenin/zon #21

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.14.0-dev.2198+e5f5229fd
- name: Build Demo
run: |
zig build -Dmkfs install demo
- 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=2048
zig build -Dsector-size=4096
zig build -Dsector-size=512:4096
zig build -Dsector-size=1024:4096
zig build -Dsector-size=2048:4096
zig build -Dvolume-count=1
zig build -Dvolume-count=2
zig build -Dvolume-count=10
zig build -Dvolume-names=C
zig build -Dvolume-names=C,D,E,F
- name: Execute Tests
run: |
cd test
zig build
./zig-out/bin/zfat-op-tester