diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-29 12:24:18 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-08-29 12:29:09 +0200 |
commit | 4055f28640bc2204ddedd9d086eeb5384e6adaae (patch) | |
tree | 9afcdf7143bb58b2b5c5589524d67e78ce69a198 | |
parent | 91d4ef018ec4bbd9b5afa8e0252c0ac92da43af7 (diff) | |
download | ayatana-indicator-display-4055f28640bc2204ddedd9d086eeb5384e6adaae.tar.gz ayatana-indicator-display-4055f28640bc2204ddedd9d086eeb5384e6adaae.tar.bz2 ayatana-indicator-display-4055f28640bc2204ddedd9d086eeb5384e6adaae.zip |
.build.yml: Also run unit tests on Ubuntu.
-rw-r--r-- | .build.yml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,7 +151,7 @@ build_scripts: - NOCONFIGURE=1 ./autogen.sh - scan-build $CHECKERS ./configure --prefix=/usr --enable-gtk-doc --enable-compile-warnings=maximum - elif [ -e ./CMakeLists.txt ]; then - - if [ ${DISTRO_NAME} == "debian" ];then + - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ];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 @@ -177,7 +177,7 @@ build_scripts: after_scripts: - if [ ${BUILD_TYPE} == "scripts" ];then - XVFB_RUN="$(which xvfb-run || true)" - - if [ ${DISTRO_NAME} == "debian" ];then + - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ];then - if [ -e ./autogen.sh ]; then - ${XVFB_RUN} make check - elif [ -e ./CMakeLists.txt ]; then |