alex/.woodpecker/build.yml
Jef Roosens 6092b15f25
Some checks failed
ci/woodpecker/push/build unknown status
ci/woodpecker/push/clippy unknown status
ci/woodpecker/push/lint unknown status
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/tag/lint Pipeline was successful
ci/woodpecker/tag/clippy Pipeline was successful
ci/woodpecker/tag/release Pipeline failed
ci/woodpecker/tag/build Pipeline was successful
chore: fix ci config
2023-06-05 10:47:23 +02:00

21 lines
434 B
YAML

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