chore: updated CI config & PKGBUILDs to new module split
ci/woodpecker/pr/build Pipeline failed Details
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/docker unknown status Details
ci/woodpecker/pr/man unknown status Details
ci/woodpecker/pr/test Pipeline was successful Details

Jef Roosens 2022-06-15 17:47:12 +02:00
parent 44696fc11b
commit 43548569c3
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
3 changed files with 30 additions and 2 deletions

View File

@ -6,9 +6,21 @@ matrix:
platform: ${PLATFORM} platform: ${PLATFORM}
pipeline: pipeline:
debug: install-modules:
image: 'chewingbever/vlang:latest' image: 'chewingbever/vlang:latest'
pull: true pull: true
environment:
- VMODULES=.vmodules
commands:
- mkdir -p .vmodules/cache
- 'cd src && v install'
when:
event: [pull_request]
debug:
image: 'chewingbever/vlang:latest'
environment:
- VMODULES=.vmodules
commands: commands:
- make - make
when: when:
@ -18,9 +30,9 @@ pipeline:
prod: prod:
image: 'chewingbever/vlang:latest' image: 'chewingbever/vlang:latest'
pull: true
environment: environment:
- LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -lsqlite3 -static - LDFLAGS=-lz -lbz2 -llzma -lexpat -lzstd -llz4 -lsqlite3 -static
- VMODULES=.vmodules
commands: commands:
# Apparently this -D is *very* important # Apparently this -D is *very* important
- CFLAGS='-DGC_THREADS=1' make prod - CFLAGS='-DGC_THREADS=1' make prod

View File

@ -14,7 +14,15 @@ license=('AGPL3')
source=("$pkgname::git+https://git.rustybever.be/vieter/vieter#tag=${pkgver//_/-}") source=("$pkgname::git+https://git.rustybever.be/vieter/vieter#tag=${pkgver//_/-}")
md5sums=('SKIP') md5sums=('SKIP')
prepare() {
export VMODULES=.vmodules
cd "$pkgname/src" && v install
}
build() { build() {
export VMODULES=.vmodules
cd "$pkgname" cd "$pkgname"
make prod make prod

View File

@ -22,7 +22,15 @@ pkgver() {
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
} }
prepare() {
export VMODULES=.vmodules
cd "$pkgname/src" && v install
}
build() { build() {
export VMODULES=.vmodules
cd "$pkgname" cd "$pkgname"
make prod make prod