| 1 |
# SPDX-FileCopyrightText: 2024 Hiredict Contributors |
| 2 |
# SPDX-License-Identifier: LGPL-3.0-or-later |
| 3 |
|
| 4 |
image: alpine/latest |
| 5 |
|
| 6 |
packages: |
| 7 |
- openssl-dev |
| 8 |
- libevent-dev |
| 9 |
- linux-headers |
| 10 |
- moreutils |
| 11 |
- reuse |
| 12 |
|
| 13 |
sources: |
| 14 |
- https://codeberg.org/redict/hiredict.git |
| 15 |
- https://codeberg.org/redict/redict.git |
| 16 |
|
| 17 |
tasks: |
| 18 |
- lint: | |
| 19 |
cd hiredict |
| 20 |
./lint.sh |
| 21 |
- build: | |
| 22 |
cd hiredict |
| 23 |
make USE_SSL=1 TEST_ASYNC=1 |
| 24 |
- redict: | |
| 25 |
cd redict |
| 26 |
make -C src V=1 USE_JEMALLOC=no MALLOC=libc BUILD_TLS=yes |
| 27 |
- test: | |
| 28 |
cd hiredict |
| 29 |
REDICT_SERVER=../redict/src/redict-server TEST_SSL=1 ./test.sh |