forked from vieter-v/vieter
Switched to static compilation in CI
parent
bdf0c2ee7c
commit
8ab3af1238
|
@ -6,17 +6,23 @@ pipeline:
|
|||
vieter:
|
||||
image: 'chewingbever/vlang:latest'
|
||||
group: 'build'
|
||||
environment:
|
||||
- LDFLAGS='-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static'
|
||||
commands:
|
||||
- make vieter
|
||||
|
||||
debug:
|
||||
image: 'chewingbever/vlang:latest'
|
||||
environment:
|
||||
- LDFLAGS='-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static'
|
||||
group: 'build'
|
||||
commands:
|
||||
- make debug
|
||||
|
||||
prod:
|
||||
image: 'chewingbever/vlang:latest'
|
||||
environment:
|
||||
- LDFLAGS='-lz -lbz2 -llzma -lexpat -lzstd -llz4 -static'
|
||||
group: 'build'
|
||||
commands:
|
||||
- make prod
|
||||
|
|
|
@ -14,6 +14,7 @@ RUN apk --no-cache add \
|
|||
git make upx gcc bash \
|
||||
musl-dev \
|
||||
openssl-libs-static openssl-dev \
|
||||
zlib-static bzip2-static xz-dev expat-static zstd-static lz4-static \
|
||||
sqlite-static sqlite-dev \
|
||||
libx11-dev glfw-dev freetype-dev \
|
||||
libarchive-static libarchive-dev \
|
||||
|
|
Loading…
Reference in New Issue