aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 12:24:18 +0200
committerRobert Tari <robert@tari.in>2021-08-30 01:08:58 +0200
commit83105872a411caf63b68724a905196f132b552c3 (patch)
treee30b13438a6890862d9b2500d9f9b20d14c96107
parentb5750867231571de834b97040a94eac9ddb00e06 (diff)
downloadayatana-indicator-display-83105872a411caf63b68724a905196f132b552c3.tar.gz
ayatana-indicator-display-83105872a411caf63b68724a905196f132b552c3.tar.bz2
ayatana-indicator-display-83105872a411caf63b68724a905196f132b552c3.zip
.build.yml: Also run unit tests on Ubuntu.
-rw-r--r--.build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index a03f635..d1a101b 100644
--- a/.build.yml
+++ b/.build.yml
@@ -151,7 +151,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
@@ -177,7 +177,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