Files
pico-weather/.woodpecker.yml
T
gballan e2f56cd98f
ci/woodpecker/push/woodpecker Pipeline failed
Adding some woodpecker CI build tests
2026-09-06 23:52:56 -04:00

22 lines
552 B
YAML

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 .