]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
CI: Enable Ducktype-based documentation on Debian/Ubuntu
authorSimon McVittie <smcv@collabora.com>
Mon, 27 Jun 2022 10:14:06 +0000 (11:14 +0100)
committerSimon McVittie <smcv@collabora.com>
Wed, 13 Jul 2022 19:36:13 +0000 (20:36 +0100)
We don't currently know the equivalent of python3-mallard-ducktype on
other OSs like openSUSE, but we know this should work on Debian (it does
when we do Autotools builds).

Signed-off-by: Simon McVittie <smcv@collabora.com>
tools/ci-build.sh

index 2e31e42410905d8885f1baa9de2c3916876f7f5d..559713a627974443217e42a010e8fed4403bafcd 100755 (executable)
@@ -477,6 +477,17 @@ case "$ci_buildsys" in
                 ;;
         esac
 
+        case "$ci_distro" in
+            (debian*|ubuntu*)
+                # We know how to install python3-mallard-ducktype
+                ;;
+            (*)
+                # TODO: We don't know the openSUSE equivalent of
+                # python3-mallard-ducktype
+                set -- -Dducktype_docs=disabled "$@"
+                ;;
+        esac
+
         set -- -Dmodular_tests=enabled "$@"
 
         case "$ci_variant" in
@@ -514,8 +525,7 @@ case "$ci_buildsys" in
         # the wrap mode back, so we can use wraps.
         set -- "$@" --wrap=default
 
-        # FIXME: ducktype target fails on debian CI..
-        $meson_setup -Dducktype_docs=disabled "$@" "$srcdir"
+        $meson_setup "$@" "$srcdir"
         meson compile -v
         [ "$ci_test" = no ] || meson test
         DESTDIR=DESTDIR meson install