build: Check out-of-tree builds in CI

Make sure the out-of-tree builds do not regress.
This commit is contained in:
Guillem Jover 2023-10-28 00:52:31 +02:00
parent df116b5597
commit 0813f3786f

View File

@ -1,3 +1,11 @@
.vpath-tests:
script:
- ./autogen
- mkdir -p build-tree
- cd build-tree
- ../configure
- make check
.unit-tests:
script:
- ./autogen && ./configure
@ -30,6 +38,9 @@
- apk add --no-cache git gcc make autoconf automake libtool
bsd-compat-headers linux-headers libmd-dev musl-dev gcovr
vpath-tests:debian:
extends: [.debian, .vpath-tests]
unit-tests:debian:
extends: [.debian, .unit-tests-asan]