mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
Build Autotools CI tests out of source tree (VPATH)
This commit is contained in:
parent
ad098030ad
commit
65b01647bf
@ -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 || {
|
||||
|
Loading…
x
Reference in New Issue
Block a user