forked from vieter-v/vieter
Added check for static binary
This commit is contained in:
parent
3acce6df0f
commit
d3dc0abc5b
2 changed files with 5 additions and 0 deletions
|
|
@ -23,3 +23,5 @@ pipeline:
|
||||||
group: 'build'
|
group: 'build'
|
||||||
commands:
|
commands:
|
||||||
- make prod
|
- make prod
|
||||||
|
# Make sure the binary is actually static
|
||||||
|
- [ "$(readelf -d pvieter) | grep NEEDED | wc -l" = 0 ]
|
||||||
|
|
|
||||||
|
|
@ -24,3 +24,6 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
builder
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue