forked from vieter-v/vieter
Added check for static binary
parent
3acce6df0f
commit
d3dc0abc5b
|
@ -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…
Reference in New Issue