aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-09-02 19:24:56 +0200
committerRobert Tari <robert@tari.in>2021-09-02 19:24:56 +0200
commit6b22b334f411dd6334d5a186b675e8e07ba875dc (patch)
treeed77db26eee156cdd5047561845cdfa5e63bab34 /.build.yml
parent0a238e4b77015566483eb13179b79a3d7f79b080 (diff)
downloadayatana-indicator-session-6b22b334f411dd6334d5a186b675e8e07ba875dc.tar.gz
ayatana-indicator-session-6b22b334f411dd6334d5a186b675e8e07ba875dc.tar.bz2
ayatana-indicator-session-6b22b334f411dd6334d5a186b675e8e07ba875dc.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 6e1218f..ad727b1 100644
--- a/.build.yml
+++ b/.build.yml
@@ -117,7 +117,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
@@ -143,7 +143,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