|
|
@ -3,23 +3,23 @@ clone:
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
image: woodpeckerci/plugin-git
|
|
|
|
# https://woodpecker-ci.org/plugins/Git%20Clone
|
|
|
|
# https://woodpecker-ci.org/plugins/Git%20Clone
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
|
# tags are required for aarch64 release builds
|
|
|
|
# tags are required for aarch64 release builds for semver
|
|
|
|
tags: true
|
|
|
|
tags: true
|
|
|
|
pipeline:
|
|
|
|
pipeline:
|
|
|
|
lint:
|
|
|
|
lint:
|
|
|
|
image: git.qcode.ch/nakamochi/ci-zig0.10.1:v2
|
|
|
|
image: git.qcode.ch/nakamochi/ci-zig0.10.1:v3
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- ./tools/fmt-check.sh
|
|
|
|
- ./tools/fmt-check.sh
|
|
|
|
test:
|
|
|
|
test:
|
|
|
|
image: git.qcode.ch/nakamochi/ci-zig0.10.1:v2
|
|
|
|
image: git.qcode.ch/nakamochi/ci-zig0.10.1:v3
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- zig build test
|
|
|
|
- zig build test
|
|
|
|
sdl2:
|
|
|
|
sdl2:
|
|
|
|
image: git.qcode.ch/nakamochi/ci-zig0.10.1:v2
|
|
|
|
image: git.qcode.ch/nakamochi/ci-zig0.10.1:v3
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- zig build -Ddriver=sdl2
|
|
|
|
- zig build -Ddriver=sdl2
|
|
|
|
aarch64:
|
|
|
|
aarch64:
|
|
|
|
image: git.qcode.ch/nakamochi/ci-zig0.10.1:v2
|
|
|
|
image: git.qcode.ch/nakamochi/ci-zig0.10.1:v3
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- zig build -Ddriver=fbev -Dtarget=aarch64-linux-musl -Drelease-safe -Dstrip
|
|
|
|
- zig build -Ddriver=fbev -Dtarget=aarch64-linux-musl -Drelease-safe -Dstrip
|
|
|
|
- sha256sum zig-out/bin/nd zig-out/bin/ngui
|
|
|
|
- sha256sum zig-out/bin/nd zig-out/bin/ngui
|
|
|
|