mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +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"
|
BASE_CONFIG: "--with-ftp --with-legacy --with-xptr-locs"
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
|
rm -rf build
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
ln -s /tests/xmlconf
|
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 -j$(nproc) V=1 CFLAGS="$CFLAGS -Werror"
|
||||||
make CFLAGS="$CFLAGS -Werror" check
|
make CFLAGS="$CFLAGS -Werror" check
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Run this to generate all the initial makefiles, etc.
|
# Run this to generate all the initial makefiles, etc.
|
||||||
|
|
||||||
srcdir=`dirname $0`
|
|
||||||
test -z "$srcdir" && srcdir=.
|
|
||||||
|
|
||||||
THEDIR=`pwd`
|
THEDIR=`pwd`
|
||||||
cd $srcdir
|
cd `dirname $0`
|
||||||
|
srcdir=`pwd`
|
||||||
|
|
||||||
DIE=0
|
DIE=0
|
||||||
|
|
||||||
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
|
||||||
|
|||||||
Reference in New Issue
Block a user