chore(ci): add static binary check
ci/woodpecker/push/build Pipeline failed Details
ci/woodpecker/push/clippy Pipeline failed Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/docker unknown status Details

pull/11/head
Jef Roosens 2024-07-07 10:51:27 +02:00
parent fde413d6f6
commit 052fb75ff9
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ platform: 'linux/amd64'
when:
branch:
exclude: [main]
event: push
event: [push, pull_request]
steps:
build:
@ -11,4 +11,6 @@ steps:
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 ]'