aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-03-11 19:29:47 +0100
committerRobert Tari <robert@tari.in>2023-05-09 00:17:30 +0200
commit05913e6762f369d487053953c30fff2afd52e6c2 (patch)
tree0c03c1d988cde731fcf2bec821323105d88d7b0f
parente67e62e1cb2c2e9e9b3ccab5ccd0a5b73b564192 (diff)
downloadlibayatana-appindicator-05913e6762f369d487053953c30fff2afd52e6c2.tar.gz
libayatana-appindicator-05913e6762f369d487053953c30fff2afd52e6c2.tar.bz2
libayatana-appindicator-05913e6762f369d487053953c30fff2afd52e6c2.zip
.build.yml: Add doc requirements and build with GTKDOC
-rw-r--r--.build.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index 4ebc8b7..d6a6b06 100644
--- a/.build.yml
+++ b/.build.yml
@@ -18,6 +18,7 @@ requires:
- libdbusmenu-gtk3
- dbus-glib
- gobject-introspection
+ - gtk3-docs
debian:
# Useful URL: https://salsa.debian.org/debian-ayatana-team/libayatana-appindicator
@@ -53,6 +54,8 @@ requires:
- libdbusmenu-gtk3-dev
- libdbusmenu-gtk-dev
- libgirepository1.0-dev
+ - libgtk-3-doc
+ - libdbusmenu-glib-doc
ubuntu:
- autopoint
@@ -87,6 +90,8 @@ requires:
- libdbusmenu-gtk3-dev
- libdbusmenu-gtk-dev
- libgirepository1.0-dev
+ - libgtk-3-doc
+ - libdbusmenu-glib-doc
variables:
- 'CHECKERS="
@@ -147,7 +152,8 @@ build_scripts:
- mkdir -p build/gtk3/
- cd build/gtk3/
- if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ]; then
- - scan-build $CHECKERS cmake ../../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON -DFLAVOUR_GTK3=ON
+ # We could use -DENABLE_WERROR=ON, but Debian Stable has an ancient Clang.
+ - scan-build $CHECKERS cmake ../../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON -DFLAVOUR_GTK3=ON -DENABLE_GTKDOC=ON
- else
- scan-build $CHECKERS cmake ../../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DFLAVOUR_GTK3=ON
- fi
@@ -155,7 +161,7 @@ build_scripts:
- mkdir -p build/gtk2/
- cd build/gtk2/
- if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ]; then
- - scan-build $CHECKERS cmake ../../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON -DFLAVOUR_GTK2=ON
+ - scan-build $CHECKERS cmake ../../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DENABLE_TESTS=ON -DFLAVOUR_GTK2=ON -DENABLE_GTKDOC=ON
- else
- scan-build $CHECKERS cmake ../../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DFLAVOUR_GTK2=ON
- fi