Adding some woodpecker CI build tests
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-09-06 23:52:56 -04:00
parent 0dff1cb72a
commit e2f56cd98f
+21
View File
@@ -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 .