Files
pico-weather/.woodpecker.yml
T
2026-09-06 23:56:00 -04:00

19 lines
505 B
YAML

when:
event:
- push
- pull_request
steps:
- name: test-build
image: tinygo/tinygo:0.42.0
commands:
# 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 -buildvcs=false -target=pico2-w -o /dev/null .