diff options
author | Thomas Haller <thaller@redhat.com> | 2019-04-20 08:27:03 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-04-20 19:36:39 +0200 |
commit | a0f31e4038d29c9055a42a1ea8f95ae7fd648579 (patch) | |
tree | 042d5639e6ef8b2877ebcfe36b8c1d20827623c2 | |
parent | 0247c06d97cd1e5fa0af1c63c97445d84becb090 (diff) | |
download | NetworkManager-a0f31e4038d29c9055a42a1ea8f95ae7fd648579.tar.gz |
gitlab-ci: install glib2-doc via "contrib/fedora/REQUIRED_PACKAGES"
We also generate a source tarball and artifact it.
Hence, we need proper gtk-doc links. This requires files in
/usr/share/gtk-doc/html for adding cross links. Install glib2-doc
package.
Note that in containers dnf is configured to not install documentation
files. We need to override that.
-rw-r--r-- | .gitlab-ci.yml | 5 | ||||
-rwxr-xr-x | contrib/fedora/REQUIRED_PACKAGES | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c733d62d2..77387c5649 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,11 @@ stages: before_script: - date '+%Y%m%d-%H%M%S'; NM_INSTALL="dnf install -y" ./contrib/fedora/REQUIRED_PACKAGES - date '+%Y%m%d-%H%M%S'; dnf install -y glibc-langpack-pl ccache clang + + # containers have "tsflags=nodocs" in /etc/dnf/dnf.conf. We need /usr/shared/gtk-doc/html + # to generate proper documentation. + - date '+%Y%m%d-%H%M%S'; dnf reinstall -y --setopt='tsflags=' glib2-doc + - date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-ci-patch-gtkdoc.sh || true .debian_install: &debian_install diff --git a/contrib/fedora/REQUIRED_PACKAGES b/contrib/fedora/REQUIRED_PACKAGES index 00216e3f89..9928cf0000 100755 --- a/contrib/fedora/REQUIRED_PACKAGES +++ b/contrib/fedora/REQUIRED_PACKAGES @@ -34,6 +34,7 @@ install \ gcc-c++ \ gettext-devel \ git \ + glib2-doc \ gnutls-devel \ gobject-introspection-devel \ gtk-doc \ |