mirror of
https://codeberg.org/scip/dbtool.git
synced 2025-12-16 19:00:58 +01:00
40 lines
995 B
YAML
40 lines
995 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
|
|
|
|
test-berkeley:
|
|
when:
|
|
event: [push]
|
|
image: alpine:latest
|
|
commands:
|
|
- 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
|