Removed references to byte; enabled -skip-unused by default
Some checks failed
ci/woodpecker/push/arch unknown status
ci/woodpecker/push/docker unknown status
ci/woodpecker/push/build_experimental Pipeline failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
Jef Roosens 2022-04-17 16:41:47 +02:00
parent 2c62f6bda1
commit 32d542102f
Signed by: Jef Roosens
GPG key ID: B580B976584B5F30
6 changed files with 9 additions and 41 deletions

View file

@ -16,30 +16,3 @@ pipeline:
- du -h afvieter
when:
event: push
skip-unused:
image: 'chewingbever/vlang:latest'
pull: true
group: 'build'
commands:
- make skip-unused
- readelf -d suvieter
- du -h suvieter
when:
event: push
skip-unused-static:
image: 'chewingbever/vlang:latest'
pull: true
environment:
- LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static
group: 'build'
commands:
- make skip-unused
- readelf -d suvieter
- du -h suvieter
- '[ "$(readelf -d suvieter | grep NEEDED | wc -l)" = 0 ]'
- strip -s suvieter
- du -h suvieter
when:
event: push