From 4f2cb284769b5944b0262fed8da0fd5befe5342a Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 4 May 2021 15:50:21 +0200 Subject: .build.yml: Disable tests for autotools builds when not on Debian. --- .build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.build.yml b/.build.yml index f8f10df..6ad68fa 100644 --- a/.build.yml +++ b/.build.yml @@ -95,7 +95,11 @@ build_scripts: - - if [ -e ./autogen.sh ]; then - NOCONFIGURE=1 ./autogen.sh - - scan-build $CHECKERS ./configure --prefix=/usr --enable-gtk-doc --enable-compile-warnings=maximum + - if [ ${DISTRO_NAME} == "debian" ];then + - scan-build $CHECKERS ./configure --prefix=/usr --enable-gtk-doc --enable-compile-warnings=maximum + - else + - scan-build $CHECKERS ./configure --prefix=/usr --disable-tests --enable-gtk-doc --enable-compile-warnings=maximum + - fi - elif [ -e ./CMakeLists.txt ]; then - if [ ${DISTRO_NAME} == "debian" ];then - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON -- cgit v1.2.3