From bd9ada889632aa484b0829e5d66cc83b5945c66c Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Wed, 7 Sep 2022 21:09:02 +0200 Subject: [PATCH] gitlab-ci: Run Autotools tests with out-of-tree (VPATH) builds --- .gitlab-ci/test.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci/test.sh b/.gitlab-ci/test.sh index 6028250f..9615e768 100644 --- a/.gitlab-ci/test.sh +++ b/.gitlab-ci/test.sh @@ -8,6 +8,8 @@ sh autogen.sh $CONFIG make -j$(nproc) cd .. -sh autogen.sh $CONFIG --with-libxml-src=libxml2 +mkdir -p libxslt-build +cd libxslt-build +sh ../autogen.sh $CONFIG --with-libxml-src=../libxml2 make -j$(nproc) V=1 CFLAGS="$CFLAGS -Werror" -make -s check +make -s CFLAGS="$CFLAGS -Werror" check