aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-04-21 20:56:22 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-04-21 20:56:44 +0200
commit34e808d3b9a322db3908454944c69c1373572f66 (patch)
treef78e8af31f9b64baa4a0fe1adebb9b43d2b78635
parentd5f56cd588febe658b7a1ff11a9e37326cc5cc6d (diff)
downloadayatana-ido-34e808d3b9a322db3908454944c69c1373572f66.tar.gz
ayatana-ido-34e808d3b9a322db3908454944c69c1373572f66.tar.bz2
ayatana-ido-34e808d3b9a322db3908454944c69c1373572f66.zip
.build.yml: On Debian, actively enable unit tests when building with CMake.
-rw-r--r--.build.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.build.yml b/.build.yml
index 710e89a..af3b24d 100644
--- a/.build.yml
+++ b/.build.yml
@@ -92,7 +92,11 @@ build_scripts:
- NOCONFIGURE=1 ./autogen.sh
- scan-build $CHECKERS ./configure --prefix=/usr --enable-gtk-doc --enable-compile-warnings=maximum
- elif [ -e ./CMakeLists.txt ]; then
- - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON
+ - if [ ${DISTRO_NAME} == "debian" ];then
+ - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON
+ - else
+ - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON
+ - fi
- else
- exit 1
- fi