ci: added dynamic boehm prod build to experimental builds
parent
16151643e6
commit
ead4c5f4b7
|
@ -27,3 +27,22 @@ pipeline:
|
||||||
- du -h suvieter
|
- du -h suvieter
|
||||||
when:
|
when:
|
||||||
event: push
|
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
|
||||||
|
|
Loading…
Reference in New Issue