ci: added dynamic boehm prod build to experimental builds

Jef Roosens 2022-04-21 16:26:46 +02:00
parent 16151643e6
commit ead4c5f4b7
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 19 additions and 0 deletions

View File

@ -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