ci: added dynamic boehm prod build to experimental builds
ci/woodpecker/push/arch unknown status Details
ci/woodpecker/push/docker unknown status Details
ci/woodpecker/push/build_experimental Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details

Jef Roosens 2022-04-21 16:26:46 +02:00
parent 7df9d921f4
commit 4be25ff356
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
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