fediglam/.woodpecker.yml

20 lines
551 B
YAML
Raw Normal View History

2022-12-18 12:44:56 +00:00
clone:
git:
image: woodpeckerci/plugin-git
settings:
depth: 1
lfs: false
pipeline:
2022-12-18 12:54:25 +00:00
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
2022-12-18 12:44:56 +00:00
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