Added check for static binary

main
Jef Roosens 2022-01-14 20:38:36 +01:00
parent 3acce6df0f
commit d3dc0abc5b
Signed by untrusted user: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 5 additions and 0 deletions

View File

@ -23,3 +23,5 @@ pipeline:
group: 'build'
commands:
- make prod
# Make sure the binary is actually static
- [ "$(readelf -d pvieter) | grep NEEDED | wc -l" = 0 ]

View File

@ -24,3 +24,6 @@ pipeline:
when:
event: tag
branch: main
depends_on:
builder