[tracker/wip/carlosg/glib2-xref] ci: Download and install glib2-doc manually




commit e78b9a964890e254ce507e8d598a011513cd1dd0
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Aug 31 12:51:55 2021 +0200

    ci: Download and install glib2-doc manually
    
    For some reason, dnf eats /usr/share/gtk-doc away in containers.
    We need the glib2 documentation for online docs to be found, and
    cross referencing to work.

 .gitlab-ci.yml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 99a458342..01acf00ad 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -60,14 +60,16 @@ check-merge-request:
 
 .tracker.fedora@common:
   variables:
-    BASE_TAG: '2021-08-23.0'
+    BASE_TAG: '2021-08-31.0'
     FDO_UPSTREAM_REPO: GNOME/tracker
-    FDO_DISTRIBUTION_PACKAGES: 'clang clang-analyzer gcovr git libasan libubsan python3-gobject python3-pip 
umockdev-devel xmlto uncrustify patch diffutils cmake python-devel glib2-doc'
+    FDO_DISTRIBUTION_PACKAGES: 'clang clang-analyzer gcovr git libasan libubsan python3-gobject python3-pip 
umockdev-devel xmlto uncrustify patch diffutils cmake python-devel'
     FDO_DISTRIBUTION_EXEC: |
-      dnf install -y 'dnf-command(builddep)' &&
+      dnf install -y 'dnf-command(builddep)' 'dnf-command(download)' &&
       dnf builddep -y tracker tracker-miners --setopt=install_weak_deps=False &&
       dnf clean all &&
-      pip3 install beautifulsoup4 mkdocs mkdocs-cinder tap.py meson hotdoc
+      pip3 install beautifulsoup4 mkdocs mkdocs-cinder tap.py meson hotdoc &&
+      dnf download glib2-doc &&
+      rpm -i ./glib2-doc*.rpm
 
 .tracker.ubuntu@common:
   variables:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]