[tracker/wip/carlosg/glib2-xref] ci: Download and install glib2-doc manually
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/glib2-xref] ci: Download and install glib2-doc manually
- Date: Tue, 31 Aug 2021 11:58:31 +0000 (UTC)
commit 6fa494b394a0a76227d7767e8ff25652a641e295
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.
Related: https://gitlab.gnome.org/GNOME/tracker/-/issues/324
.gitlab-ci.yml | 12 ++++++++----
1 file 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]