summaryrefslogtreecommitdiff
path: root/.gitlab-ci/test.sh
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-09-07 21:09:02 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2022-09-07 22:18:55 +0200
commitbd9ada889632aa484b0829e5d66cc83b5945c66c (patch)
tree109d1b085f8d39ffc9b12242a09d47bc70a2abc1 /.gitlab-ci/test.sh
parent971d5c4dd158095194759a9c7173d47c90645444 (diff)
downloadlibxslt-bd9ada889632aa484b0829e5d66cc83b5945c66c.tar.gz
gitlab-ci: Run Autotools tests with out-of-tree (VPATH) builds
Diffstat (limited to '.gitlab-ci/test.sh')
-rw-r--r--.gitlab-ci/test.sh6
1 files 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