fediglam/.woodpecker.yml
jaina heartles 6900c77a32
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Add zig fmt step
2022-12-18 04:54:25 -08:00

19 lines
551 B
YAML

clone:
git:
image: woodpeckerci/plugin-git
settings:
depth: 1
lfs: false
pipeline:
fmt:
image: alpine
- curl https://ziglang.org/download/0.10.0/zig-linux-x86_64-0.10.0.tar.xz | xz -d | tar -x
- ./zig-linux-x86_64-0.10.0/zig fmt --check src/ tests/ build.zig
unit-tests:
image: alpine
commands:
- apk add sqlite sqlite-dev libpq libpq-dev curl xz
- curl https://ziglang.org/download/0.10.0/zig-linux-x86_64-0.10.0.tar.xz | xz -d | tar -x
- ./zig-linux-x86_64-0.10.0/zig build unit