From 4be25ff356979ad4cf21c6d13862111f8c458c9d Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 21 Apr 2022 16:26:46 +0200 Subject: [PATCH] ci: added dynamic boehm prod build to experimental builds --- .woodpecker/.build_experimental.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.woodpecker/.build_experimental.yml b/.woodpecker/.build_experimental.yml index 0129d2b..3968e05 100644 --- a/.woodpecker/.build_experimental.yml +++ b/.woodpecker/.build_experimental.yml @@ -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