diff options
author | Robert Tari <robert@tari.in> | 2021-10-18 03:11:47 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-21 22:33:52 +0200 |
commit | aa1d7ecfe93bbb0424223a6659c31669c5a5a1c6 (patch) | |
tree | 3963d0cc13ab0342ac409597a4bba45fd2aaf506 | |
parent | b2beaa3431ac84614ae45f58f2771fb6b97f6201 (diff) | |
download | ayatana-indicator-messages-aa1d7ecfe93bbb0424223a6659c31669c5a5a1c6.tar.gz ayatana-indicator-messages-aa1d7ecfe93bbb0424223a6659c31669c5a5a1c6.tar.bz2 ayatana-indicator-messages-aa1d7ecfe93bbb0424223a6659c31669c5a5a1c6.zip |
.build.yml: Enable tests for Ubuntu builds
-rw-r--r-- | .build.yml | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -58,6 +58,9 @@ requires: - libgirepository1.0-dev - valac - systemd + - libgtest-dev + - libdbustest1-dev + - python3-dbusmock variables: - 'CHECKERS=" @@ -103,7 +106,7 @@ build_scripts: - 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 + - 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 @@ -129,7 +132,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 |