diff options
author | Robert Tari <robert@tari.in> | 2021-09-02 19:24:56 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-09-02 19:24:56 +0200 |
commit | 6b22b334f411dd6334d5a186b675e8e07ba875dc (patch) | |
tree | ed77db26eee156cdd5047561845cdfa5e63bab34 /.build.yml | |
parent | 0a238e4b77015566483eb13179b79a3d7f79b080 (diff) | |
download | ayatana-indicator-session-6b22b334f411dd6334d5a186b675e8e07ba875dc.tar.gz ayatana-indicator-session-6b22b334f411dd6334d5a186b675e8e07ba875dc.tar.bz2 ayatana-indicator-session-6b22b334f411dd6334d5a186b675e8e07ba875dc.zip |
.build.yml: Also run unit tests during CI builds against Ubuntu.
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -117,7 +117,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 @@ -143,7 +143,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 |