From: Guillem Jover Date: Fri, 27 Oct 2023 22:52:31 +0000 (+0200) Subject: build: Check out-of-tree builds in CI X-Git-Tag: 0.11.8~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0813f3786f4968e4fca374fd7b74fb97a0f51f21;p=thirdparty%2Flibbsd.git 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]