diff options
author | Robert Tari <robert@tari.in> | 2021-09-02 19:20:15 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-09-02 19:20:15 +0200 |
commit | ed34d882f243f21c868f7568a0cb5abb25e59317 (patch) | |
tree | 010d5c210b1d36eeb4f0578205f1cc72c5bc04dc | |
parent | 0ad25024e73b4d35d6416c60be4123ac0a517c33 (diff) | |
download | libayatana-common-ed34d882f243f21c868f7568a0cb5abb25e59317.tar.gz libayatana-common-ed34d882f243f21c868f7568a0cb5abb25e59317.tar.bz2 libayatana-common-ed34d882f243f21c868f7568a0cb5abb25e59317.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
@@ -118,7 +118,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 -DENABLE_WERROR=ON - else - scan-build $CHECKERS cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_WERROR=ON @@ -144,7 +144,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 |