Use dynamic_boehm everywhere
Some checks failed
ci/woodpecker/push/arch unknown status
ci/woodpecker/push/docker unknown status
ci/woodpecker/push/build_experimental Pipeline failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Some checks failed
ci/woodpecker/push/arch unknown status
ci/woodpecker/push/docker unknown status
ci/woodpecker/push/build_experimental Pipeline failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
This commit is contained in:
parent
4be25ff356
commit
8e40481022
2 changed files with 3 additions and 22 deletions
|
|
@ -27,22 +27,3 @@ pipeline:
|
|||
- du -h suvieter
|
||||
when:
|
||||
event: push
|
||||
|
||||
dynamic-boehm-prod:
|
||||
image: 'chewingbever/vlang:latest'
|
||||
pull: true
|
||||
group: 'build'
|
||||
environment:
|
||||
- LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static
|
||||
- VFLAGS=-cc gcc -d dynamic_boehm
|
||||
commands:
|
||||
- make prod
|
||||
# Make sure the binary is actually statically built
|
||||
- readelf -d pvieter
|
||||
- du -h pvieter
|
||||
- '[ "$(readelf -d pvieter | grep NEEDED | wc -l)" = 0 ]'
|
||||
# This removes so much, it's amazing
|
||||
- strip -s pvieter
|
||||
- du -h pvieter
|
||||
when:
|
||||
event: push
|
||||
|
|
|
|||
Reference in a new issue