summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2021-08-31 12:51:55 +0200
committerCarlos Garnacho <carlosg@gnome.org>2021-08-31 13:58:22 +0200
commit6fa494b394a0a76227d7767e8ff25652a641e295 (patch)
tree47a5df487b8118ae1028506b5b34f06d9d001724 /.gitlab-ci.yml
parent2a5a26e191a420699a06aa293c5f9ebd3f0f64e4 (diff)
downloadtracker-6fa494b394a0a76227d7767e8ff25652a641e295.tar.gz
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. Related: https://gitlab.gnome.org/GNOME/tracker/-/issues/324
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 99a458342..5adf62c27 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -60,14 +60,18 @@ 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 &&
+ # Installing gtk-doc docs with dnf does not end up with docs at
+ # /usr/share/gtk-doc, https://gitlab.gnome.org/GNOME/tracker/-/issues/324
+ dnf download glib2-doc &&
+ rpm -i ./glib2-doc*.rpm
.tracker.ubuntu@common:
variables: