diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-04-21 20:56:22 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-04-21 20:56:44 +0200 |
commit | 34e808d3b9a322db3908454944c69c1373572f66 (patch) | |
tree | f78e8af31f9b64baa4a0fe1adebb9b43d2b78635 | |
parent | d5f56cd588febe658b7a1ff11a9e37326cc5cc6d (diff) | |
download | ayatana-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.yml | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |