aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 13:13:41 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 13:13:41 +0200
commite4ce9964c9578242d56cf0e3c3a1fadba89d8573 (patch)
treea4c273fa0ef7feefce8d965825bcd83fa2b07365
parent8b37e2d598fdda1dae6b1a8b4f23841d8d972586 (diff)
downloadayatana-ido-e4ce9964c9578242d56cf0e3c3a1fadba89d8573.tar.gz
ayatana-ido-e4ce9964c9578242d56cf0e3c3a1fadba89d8573.tar.bz2
ayatana-ido-e4ce9964c9578242d56cf0e3c3a1fadba89d8573.zip
.build.yml: Also run unit tests during CI builds against Ubuntu.
-rw-r--r--.build.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index af3b24d..fe1cd4a 100644
--- a/.build.yml
+++ b/.build.yml
@@ -92,7 +92,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
@@ -118,7 +118,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