alex/.woodpecker/build.yml

19 lines
366 B
YAML

matrix:
ARCH:
- 'amd64'
- 'arm64'
platform: "linux/${ARCH}"
branches:
exclude: [main]
pipeline:
build:
image: 'rust:1.70-alpine3.18'
commands:
- cargo build --verbose
- cargo test --verbose
# Binaries, even debug ones, should be statically compiled
- '[ "$(readelf -d target/debug/alex | grep NEEDED | wc -l)" = 0 ]'