rieter/.woodpecker/build.yml

17 lines
377 B
YAML

platform: 'linux/amd64'
when:
branch:
exclude: [main]
event: push
steps:
build:
image: 'rust:1.79-alpine3.19'
commands:
- apk add --no-cache build-base libarchive libarchive-dev
- cargo build --verbose
# Binaries, even debug ones, should be statically compiled
- '[ "$(readelf -d target/debug/rieterd | grep NEEDED | wc -l)" = 0 ]'