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