mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
ci: Show config.log if configuration failed
This commit is contained in:
parent
c978a5d8d4
commit
0e6e39213a
@ -3,6 +3,6 @@
|
||||
set -e
|
||||
|
||||
cd libxml2-build
|
||||
sh ../autogen.sh $BASE_CONFIG $CONFIG
|
||||
sh ../autogen.sh $BASE_CONFIG $CONFIG || cat config.log
|
||||
make -j$(nproc) V=1 CFLAGS="$CFLAGS -Werror"
|
||||
make CFLAGS="$CFLAGS -Werror" check
|
||||
|
@ -65,7 +65,7 @@ if [ ! -d $srcdir/m4 ]; then
|
||||
fi
|
||||
|
||||
# Replaced by autoreconf below
|
||||
autoreconf -if -Wall
|
||||
autoreconf -if -Wall || exit 1
|
||||
|
||||
if ! grep -q pkg.m4 aclocal.m4; then
|
||||
cat <<EOF
|
||||
@ -88,6 +88,7 @@ if test -z "$NOCONFIGURE"; then
|
||||
if test "$?" -ne 0; then
|
||||
echo
|
||||
echo "Configure script failed, check config.log for more info."
|
||||
exit 1
|
||||
else
|
||||
echo
|
||||
echo "Now type 'make' to compile libxml2."
|
||||
|
Loading…
x
Reference in New Issue
Block a user