mirror of
https://codeberg.org/scip/dbtool.git
synced 2025-12-16 10:50:58 +01:00
34 lines
908 B
YAML
34 lines
908 B
YAML
matrix:
|
|
platform:
|
|
- linux/amd64
|
|
|
|
labels:
|
|
platform: ${platform}
|
|
|
|
steps:
|
|
build-berkeley:
|
|
when:
|
|
event: [push]
|
|
image: alpine:latest
|
|
commands:
|
|
- apk update
|
|
- apk add --no-cache bash build-base words-en gdb perl pcre2 pcre2-dev db db-dev pkgconfig meson ninja
|
|
- meson setup --reconfigure build
|
|
- ninja -C build
|
|
- rm -f test.db
|
|
- build/dbtool -d test.db -i -k "test" -v "blah blah blah"
|
|
- build/dbtool -d test.db -D | grep blah
|
|
|
|
build-gdbm:
|
|
when:
|
|
event: [push]
|
|
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 build
|
|
- ninja -C build
|
|
- rm -f test.db
|
|
- build/dbtool -d test.db -i -k "test" -v "blah blah blah"
|
|
- build/dbtool -d test.db -D | grep blah
|