github: cleanup cibuild.sh

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2021-01-25 17:32:17 +01:00
parent 48575df6e8
commit 830a871e16
1 changed files with 3 additions and 10 deletions

View File

@ -13,36 +13,29 @@ for phase in "${PHASES[@]}"; do
--enable-all-programs \ --enable-all-programs \
--enable-asan \ --enable-asan \
--enable-ubsan \ --enable-ubsan \
--without-python \
--enable-werror" --enable-werror"
if [[ "$COMPILER" == clang ]]; then if [[ "$COMPILER" == clang ]]; then
opts="$opts --enable-fuzzing-engine" opts="$opts --enable-fuzzing-engine"
fi fi
echo "## CONFIGURE: git-clean"
sudo -E git clean -xdf sudo -E git clean -xdf
echo "## CONFIGURE: autogen.sh"
./autogen.sh ./autogen.sh
echo "## CONFIGURE: $opts --"
./configure $opts ./configure $opts
;; ;;
MAKE) MAKE)
echo "## MAKE"
make -j V=1 make -j V=1
make -j check-programs V=1 make -j check-programs V=1
;; ;;
INSTALL) INSTALL)
echo "## MAKE INSTALL"
make install DESTDIR=/tmp/dest make install DESTDIR=/tmp/dest
;; ;;
CHECK) CHECK)
echo "## MAKE CHECK" ./tests/run.sh --show-diff
./tests/run.h --show-diff
;; ;;
DISTCHECK) DISTCHECK)
echo "## MAKE DISTCHECK"
make distcheck make distcheck
;; ;;