Files
pico-weather/.woodpecker.yml
T
gballan e72d401241
ci/woodpecker/push/woodpecker Pipeline was successful
Fixing a couple small errors in the Woodpecker CI build
2026-09-06 23:58:13 -04:00

21 lines
623 B
YAML

when:
event:
- push
- pull_request
steps:
- name: test-build
image: tinygo/tinygo:0.42.0
commands:
# Fix dubious ownership issues because you can't disable it with tinygo
- git config --global --add safe.directory "$PWD"
# 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 .