Problem: ci_build does not fully test build system

Solution: run make dist-check, which will run additional tests,
including making sure that the library is installable and the
distributable tarball is buildable, along with the usual make and
make check.
This commit is contained in:
Luca Boccassi 2016-03-06 18:05:28 +00:00
parent ff1ebf6ff0
commit 6024dd5dfa

View File

@ -27,9 +27,8 @@ if [ $BUILD_TYPE == "default" ]; then
( (
./autogen.sh && ./autogen.sh &&
./configure "${CONFIG_OPTS[@]}" && ./configure "${CONFIG_OPTS[@]}" &&
make && export DISTCHECK_CONFIGURE_FLAGS="${CONFIG_OPTS[@]}" &&
make VERBOSE=1 check && make VERBOSE=1 distcheck
make install
) || exit 1 ) || exit 1
else else
cd ./builds/${BUILD_TYPE} && ./ci_build.sh cd ./builds/${BUILD_TYPE} && ./ci_build.sh