[libxslt] gitlab-ci: Run Autotools tests with out-of-tree (VPATH) builds



commit bd9ada889632aa484b0829e5d66cc83b5945c66c
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Wed Sep 7 21:09:02 2022 +0200

    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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]