.builds: add more comprehensive build testing

Fixes: https://codeberg.org/redict/redict/issues/7
Signed-off-by: Drew DeVault <sir@cmpwn.com>
This commit is contained in:
Drew DeVault 2024-04-01 12:05:36 +02:00
parent 466411d783
commit aadcf99b72

24
.builds/matrix.yml Normal file
View File

@ -0,0 +1,24 @@
# SPDX-FileCopyrightText: 2024 Redict Contributors
# SPDX-License-Identifier: LGPL-3.0-only
# Tests a few more configurations for build
image: debian/stable
packages:
- pkg-config
- libsystemd-dev
- libssl-dev
sources:
- https://codeberg.org/redict/redict.git
tasks:
- make_jemalloc: |
cd redict
make -C src V=1 USE_JEMALLOC=yes MALLOC=jemalloc BUILD_TLS=no
- make_tls: |
cd redict
make -C src V=1 USE_JEMALLOC=no MALLOC=libc BUILD_TLS=yes
- make_jemalloc_tls: |
cd redict
make -C src V=1 USE_JEMALLOC=yes MALLOC=jemalloc BUILD_TLS=yes
- make_tls_systemd: |
cd redict
make -C src V=1 BUILD_TLS=yes USE_SYSTEMD=yes