From 0813f3786f4968e4fca374fd7b74fb97a0f51f21 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 28 Oct 2023 00:52:31 +0200 Subject: [PATCH] build: Check out-of-tree builds in CI Make sure the out-of-tree builds do not regress. --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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]