chore: updated CI config & PKGBUILDs to new module split
parent
44696fc11b
commit
da0eb76255
|
@ -6,9 +6,20 @@ matrix:
|
|||
platform: ${PLATFORM}
|
||||
|
||||
pipeline:
|
||||
debug:
|
||||
install-modules:
|
||||
image: 'chewingbever/vlang:latest'
|
||||
pull: true
|
||||
environment:
|
||||
- VMODULES=.vmodules
|
||||
commands:
|
||||
- 'cd src && v install'
|
||||
when:
|
||||
event: [pull_request]
|
||||
|
||||
debug:
|
||||
image: 'chewingbever/vlang:latest'
|
||||
environment:
|
||||
- VMODULES=.vmodules
|
||||
commands:
|
||||
- make
|
||||
when:
|
||||
|
@ -18,9 +29,9 @@ pipeline:
|
|||
|
||||
prod:
|
||||
image: 'chewingbever/vlang:latest'
|
||||
pull: true
|
||||
environment:
|
||||
- LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -lsqlite3 -static
|
||||
- VMODULES=.vmodules
|
||||
commands:
|
||||
# Apparently this -D is *very* important
|
||||
- CFLAGS='-DGC_THREADS=1' make prod
|
||||
|
|
8
PKGBUILD
8
PKGBUILD
|
@ -14,7 +14,15 @@ license=('AGPL3')
|
|||
source=("$pkgname::git+https://git.rustybever.be/vieter/vieter#tag=${pkgver//_/-}")
|
||||
md5sums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
export VMODULES=.vmodules
|
||||
|
||||
cd "$pkgname/src" && v install
|
||||
}
|
||||
|
||||
build() {
|
||||
export VMODULES=.vmodules
|
||||
|
||||
cd "$pkgname"
|
||||
|
||||
make prod
|
||||
|
|
|
@ -22,7 +22,15 @@ pkgver() {
|
|||
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
export VMODULES=.vmodules
|
||||
|
||||
cd "$pkgname/src" && v install
|
||||
}
|
||||
|
||||
build() {
|
||||
export VMODULES=.vmodules
|
||||
|
||||
cd "$pkgname"
|
||||
|
||||
make prod
|
||||
|
|
Loading…
Reference in New Issue