aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-09-02 19:41:55 +0200
committerRobert Tari <robert@tari.in>2021-09-02 19:41:55 +0200
commita86d5c60bb5dedd8e866e88076cd1b217a5ba65b (patch)
tree80157d8e3cd69d1f526f906cf7455f09fa3db9bc /.build.yml
parent91d765d732a950488f07b9c5073cfb063b184846 (diff)
downloadayatana-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.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index f8cb781..208557d 100644
--- a/.build.yml
+++ b/.build.yml
@@ -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