vieter/.woodpecker/.build_experimental.yml

46 lines
992 B
YAML
Raw Normal View History

2022-04-14 23:15:19 +02:00
# These builds are not important for the project, but might be valuable for
# fixing bugs in the V compiler.
platform: linux/amd64
branches:
exclude: [master, dev]
pipeline:
autofree:
image: 'chewingbever/vlang:latest'
pull: true
group: 'build'
commands:
- make autofree
2022-04-14 23:17:52 +02:00
- readelf -d afvieter
- du -h afvieter
2022-04-14 23:15:19 +02:00
when:
event: push
skip-unused:
image: 'chewingbever/vlang:latest'
pull: true
group: 'build'
commands:
- make skip-unused
2022-04-14 23:17:52 +02:00
- 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
2022-04-14 23:15:19 +02:00
when:
event: push