Added arm/v7 to CI

main
Jef Roosens 2022-01-15 15:35:12 +01:00
parent 7b6c1c254d
commit 22ae53b5c2
Signed by untrusted user: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 1 additions and 29 deletions

View File

@ -2,6 +2,7 @@ matrix:
PLATFORM:
- linux/amd64
- linux/arm64
- linux/arm/v7
# These checks already get performed on the feature branches
branches:

View File

@ -1,29 +0,0 @@
# These checks already get performed on the feature branches
branches:
exclude: [ main, dev ]
platform: linux/arm64
pipeline:
vieter:
image: 'chewingbever/vlang:latest'
group: 'build'
commands:
- make vieter
debug:
image: 'chewingbever/vlang:latest'
group: 'build'
commands:
- make debug
prod:
image: 'chewingbever/vlang:latest'
environment:
- LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static
group: 'build'
commands:
- make prod
# Make sure the binary is actually static
- readelf -d pvieter
- du -h pvieter
- '[ "$(readelf -d pvieter | grep NEEDED | wc -l)" = 0 ]'