aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-09-02 19:44:55 +0200
committerRobert Tari <robert@tari.in>2021-09-02 19:44:55 +0200
commit892badd1172930da20338c7f83b0613ba0186757 (patch)
treeaab9de0e51f2804e529f19c2083f54564c40ee88 /.build.yml
parent85fcc78cb5cbcde960c3933bc1be70e7925a95ee (diff)
downloadayatana-indicator-power-892badd1172930da20338c7f83b0613ba0186757.tar.gz
ayatana-indicator-power-892badd1172930da20338c7f83b0613ba0186757.tar.bz2
ayatana-indicator-power-892badd1172930da20338c7f83b0613ba0186757.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 945a71f..46099cd 100644
--- a/.build.yml
+++ b/.build.yml
@@ -135,7 +135,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
@@ -161,7 +161,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