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