diff options
author | Robert Tari <robert@tari.in> | 2021-09-02 19:41:55 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-09-02 19:41:55 +0200 |
commit | a86d5c60bb5dedd8e866e88076cd1b217a5ba65b (patch) | |
tree | 80157d8e3cd69d1f526f906cf7455f09fa3db9bc /.build.yml | |
parent | 91d765d732a950488f07b9c5073cfb063b184846 (diff) | |
download | ayatana-indicator-sound-a86d5c60bb5dedd8e866e88076cd1b217a5ba65b.tar.gz ayatana-indicator-sound-a86d5c60bb5dedd8e866e88076cd1b217a5ba65b.tar.bz2 ayatana-indicator-sound-a86d5c60bb5dedd8e866e88076cd1b217a5ba65b.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
@@ -172,7 +172,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 @@ -198,7 +198,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 |