From e2f56cd98f24d90fef43de4a77a55605b3895e32 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Sun, 6 Sep 2026 23:52:56 -0400 Subject: [PATCH] Adding some woodpecker CI build tests --- .woodpecker.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..c15c2bc --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,21 @@ +when: + event: + - push + - pull_request + +steps: + - name: test-build + image: tinygo/tinygo:latest + commands: + # Verify TinyGo compiler version + - tinygo version + + # Ensure modules are resolved and tidy + - go mod download + - go mod verify + + # Copy template config for the build check if config.go doesn't exist + - if [ ! -f config.go ]; then cp config.go.example config.go; fi + + # Compile to an ELF/binary to ensure no syntax, link, or driver errors + - tinygo build -target=pico2-w -o /dev/null .