CI: yet another attempt to debug the disk-space failures
This commit is contained in:
parent
c4b5360d91
commit
59e30e3cdb
@ -12,26 +12,26 @@ test -f $SRCDIR/CMakeLists.txt || { echo "! Missing $SRCDIR/CMakeLists.txt" ; ex
|
|||||||
|
|
||||||
cd $BUILDDIR || exit 1
|
cd $BUILDDIR || exit 1
|
||||||
|
|
||||||
|
section() {
|
||||||
echo "###"
|
echo "###"
|
||||||
echo "### cmake $CMAKE_ARGS $SRCDIR"
|
echo "### $1"
|
||||||
echo "###"
|
echo "###"
|
||||||
pwd -P
|
pwd -P
|
||||||
df -h
|
df -h
|
||||||
|
}
|
||||||
|
|
||||||
|
section "cmake $CMAKE_ARGS $SRCDIR"
|
||||||
cmake $CMAKE_ARGS $SRCDIR || { echo "! CMake failed" ; exit 1 ; }
|
cmake $CMAKE_ARGS $SRCDIR || { echo "! CMake failed" ; exit 1 ; }
|
||||||
|
|
||||||
echo -e "###\n### make\n###"
|
section "make"
|
||||||
df -h
|
make -j2 || { echo "! Make recheck" ; pwd -P ; df -h ; make -j1 VERBOSE=1 ; echo "! Make failed" ; exit 1 ; }
|
||||||
make -j2 || { pwd -P ; df -h ; make -j1 VERBOSE=1 ; echo "! Make failed" ; exit 1 ; }
|
|
||||||
|
|
||||||
echo -e "###\n### make install\n###"
|
section "make install"
|
||||||
|
|
||||||
install_debugging() {
|
install_debugging() {
|
||||||
ls -la $( find "$1" -type f -name '*.so' )
|
ls -la $( find "$1" -type f -name '*.so' )
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "# System status"
|
|
||||||
df -h
|
|
||||||
|
|
||||||
echo "# Build results"
|
echo "# Build results"
|
||||||
install_debugging "$BUILDDIR"
|
install_debugging "$BUILDDIR"
|
||||||
|
|
||||||
@ -48,10 +48,8 @@ else
|
|||||||
result=false
|
result=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "# System status"
|
|
||||||
df -h
|
|
||||||
|
|
||||||
echo "# Install results"
|
section "Install results"
|
||||||
install_debugging "$DESTDIR"
|
install_debugging "$DESTDIR"
|
||||||
|
|
||||||
$result || { echo "! Install failed" ; exit 1 ; } # Result of make install, above
|
$result || { echo "! Install failed" ; exit 1 ; } # Result of make install, above
|
||||||
|
Loading…
Reference in New Issue
Block a user