diff options
author | Robert Tari <robert@tari.in> | 2021-09-02 19:44:55 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-09-02 19:44:55 +0200 |
commit | 892badd1172930da20338c7f83b0613ba0186757 (patch) | |
tree | aab9de0e51f2804e529f19c2083f54564c40ee88 | |
parent | 85fcc78cb5cbcde960c3933bc1be70e7925a95ee (diff) | |
download | ayatana-indicator-power-892badd1172930da20338c7f83b0613ba0186757.tar.gz ayatana-indicator-power-892badd1172930da20338c7f83b0613ba0186757.tar.bz2 ayatana-indicator-power-892badd1172930da20338c7f83b0613ba0186757.zip |
.build.yml: Also run unit tests during CI builds against Ubuntu.
-rw-r--r-- | .build.yml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -135,7 +135,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 @@ -161,7 +161,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 |