mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-23 01:52:48 +03:00
Build Autotools CI tests out of source tree (VPATH)
This commit is contained in:
@@ -20,8 +20,11 @@
|
||||
BASE_CONFIG: "--with-ftp --with-legacy --with-xptr-locs"
|
||||
script:
|
||||
- |
|
||||
rm -rf build
|
||||
mkdir build
|
||||
cd build
|
||||
ln -s /tests/xmlconf
|
||||
sh autogen.sh $BASE_CONFIG $CONFIG
|
||||
sh ../autogen.sh $BASE_CONFIG $CONFIG
|
||||
make -j$(nproc) V=1 CFLAGS="$CFLAGS -Werror"
|
||||
make CFLAGS="$CFLAGS -Werror" check
|
||||
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
#!/bin/sh
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
THEDIR=`pwd`
|
||||
cd $srcdir
|
||||
cd `dirname $0`
|
||||
srcdir=`pwd`
|
||||
|
||||
DIE=0
|
||||
|
||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
||||
|
||||
Reference in New Issue
Block a user