build: Check out-of-tree builds in CI Make sure the out-of-tree builds do not regress.
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 737297c..72b7625 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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]