|
|
|
clone:
|
|
|
|
git:
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
# https://woodpecker-ci.org/plugins/Git%20Clone
|
|
|
|
settings:
|
|
|
|
# tags are required for aarch64 release builds for semver
|
|
|
|
tags: true
|
|
|
|
lfs: false
|
|
|
|
recursive: false
|
|
|
|
pipeline:
|
|
|
|
lint:
|
|
|
|
image: git.qcode.ch/nakamochi/ci-zig0.11.0:v2
|
|
|
|
commands:
|
|
|
|
- ./tools/fmt-check.sh
|
|
|
|
test:
|
|
|
|
image: git.qcode.ch/nakamochi/ci-zig0.11.0:v2
|
|
|
|
commands:
|
|
|
|
- zig build test
|
|
|
|
sdl2:
|
|
|
|
image: git.qcode.ch/nakamochi/ci-zig0.11.0:v2
|
|
|
|
commands:
|
|
|
|
- zig build -Ddriver=sdl2
|
|
|
|
aarch64:
|
|
|
|
image: git.qcode.ch/nakamochi/ci-zig0.11.0:v2
|
|
|
|
commands:
|
|
|
|
- zig build -Ddriver=fbev -Dtarget=aarch64-linux-musl -Doptimize=ReleaseSafe -Dstrip
|
|
|
|
- sha256sum zig-out/bin/nd zig-out/bin/ngui
|
|
|
|
playground:
|
|
|
|
image: git.qcode.ch/nakamochi/ci-zig0.11.0:v2
|
|
|
|
commands:
|
|
|
|
- zig build guiplay btcrpc
|