aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-09-02 19:37:03 +0200
committerRobert Tari <robert@tari.in>2021-09-02 19:37:03 +0200
commit2748fa58a285684b2c51aee1db543f585d57abd0 (patch)
treea0b24ce23d1b14060b92d718086f9b13422a2004 /.build.yml
parentf7c5127a29e29b79e5e90b548bde383f6d703bbc (diff)
downloadayatana-indicator-datetime-2748fa58a285684b2c51aee1db543f585d57abd0.tar.gz
ayatana-indicator-datetime-2748fa58a285684b2c51aee1db543f585d57abd0.tar.bz2
ayatana-indicator-datetime-2748fa58a285684b2c51aee1db543f585d57abd0.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 d190818..d238792 100644
--- a/.build.yml
+++ b/.build.yml
@@ -173,7 +173,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
@@ -199,7 +199,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