|
|
|
@ -9,19 +9,16 @@ pipeline:
|
|
|
|
install-modules:
|
|
|
|
install-modules:
|
|
|
|
image: 'chewingbever/vlang:latest'
|
|
|
|
image: 'chewingbever/vlang:latest'
|
|
|
|
pull: true
|
|
|
|
pull: true
|
|
|
|
environment:
|
|
|
|
|
|
|
|
- VMODULES=.vmodules
|
|
|
|
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- mkdir -p .vmodules/cache
|
|
|
|
- export VMODULES=$PWD/.vmodules
|
|
|
|
- 'cd src && v install'
|
|
|
|
- 'cd src && v install'
|
|
|
|
when:
|
|
|
|
when:
|
|
|
|
event: [pull_request]
|
|
|
|
event: [pull_request]
|
|
|
|
|
|
|
|
|
|
|
|
debug:
|
|
|
|
debug:
|
|
|
|
image: 'chewingbever/vlang:latest'
|
|
|
|
image: 'chewingbever/vlang:latest'
|
|
|
|
environment:
|
|
|
|
|
|
|
|
- VMODULES=.vmodules
|
|
|
|
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
|
|
|
|
- export VMODULES=$PWD/.vmodules
|
|
|
|
- make
|
|
|
|
- make
|
|
|
|
when:
|
|
|
|
when:
|
|
|
|
event: [pull_request]
|
|
|
|
event: [pull_request]
|
|
|
|
@ -32,8 +29,8 @@ pipeline:
|
|
|
|
image: 'chewingbever/vlang:latest'
|
|
|
|
image: 'chewingbever/vlang:latest'
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -lsqlite3 -static
|
|
|
|
- LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -lsqlite3 -static
|
|
|
|
- VMODULES=.vmodules
|
|
|
|
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
|
|
|
|
- export VMODULES=$PWD/.vmodules
|
|
|
|
# Apparently this -D is *very* important
|
|
|
|
# Apparently this -D is *very* important
|
|
|
|
- CFLAGS='-DGC_THREADS=1' make prod
|
|
|
|
- CFLAGS='-DGC_THREADS=1' make prod
|
|
|
|
# Make sure the binary is actually statically built
|
|
|
|
# Make sure the binary is actually statically built
|
|
|
|
|