fix compileerrors, add tests (#2)

This commit is contained in:
T. von Dein
2025-11-21 14:06:32 +01:00
parent b10dd5cd59
commit ab0d3f8268
4 changed files with 87 additions and 24 deletions

View File

@@ -6,12 +6,12 @@ labels:
steps:
compile:
when:
event: [manual]
event: [tag]
image: alpine:latest
commands:
- apk update
- apk add --no-cache bash build-base words-en gdb perl pcre2 pcre2-dev gdbm gdbm-dev pkgconfig meson ninja
- meson setup --reconfigure --prefer-static build
- apk add --no-cache bash build-base words-en gdb perl pcre2-static pcre2-dev gdbm gdbm-dev pkgconfig meson ninja
- meson setup --reconfigure --prefer-static -Dcpp_link_args="-static" --buildtype=release build
- ninja -C build
- file build/dbtool
- mv build/dbtool dbtool-linux-amd64
@@ -19,7 +19,7 @@ steps:
release:
image: alpine:latest
when:
event: [manual]
event: [tag]
environment:
DEPLOY_TOKEN:
from_secret: DEPLOY_TOKEN