[glib/wip/hadess/update-docker-packages: 28/28] ci: Install build deps for extra modules in Docker image
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/hadess/update-docker-packages: 28/28] ci: Install build deps for extra modules in Docker image
- Date: Tue, 7 Jan 2020 18:27:53 +0000 (UTC)
commit ce068b436d36954f7304e69b5b16cf414300fede
Author: Bastien Nocera <hadess hadess net>
Date: Wed Dec 11 17:48:24 2019 +0100
ci: Install build deps for extra modules in Docker image
Rather than bringing build dependencies for gobject-introspection
and xdg-desktop-portal manually, install them in the Docker image.
.gitlab-ci.yml | 4 ----
.gitlab-ci/fedora.Dockerfile | 4 ++++
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 106fbf092..321e1837e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -95,9 +95,6 @@ installed-tests:
image: registry.gitlab.gnome.org/gnome/glib/fedora:v5
stage: build
script:
- # FIXME Install xdg-desktop-portal build deps before compiling glib,
- # so it doesn't overwrite our own glib build
- - sudo dnf install -y autoconf automake gettext-devel libtool diffutils fontconfig-devel json-glib-devel
geoclue2-devel pipewire-devel fuse-devel make
# dtrace is disabled because it breaks the static-link.py test
- meson ${MESON_COMMON_OPTIONS}
--werror
@@ -120,7 +117,6 @@ installed-tests:
# FIXME install newer gobject-introspection
# with GMemoryMonitor support, see:
# https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/193
- - sudo dnf install -y meson flex bison python3-devel
- git clone --single-branch https://gitlab.gnome.org/GNOME/gobject-introspection.git
- cd gobject-introspection
- /usr/bin/meson _build --prefix=/usr --libdir=/usr/lib64
diff --git a/.gitlab-ci/fedora.Dockerfile b/.gitlab-ci/fedora.Dockerfile
index cdec73fff..ff305e63c 100644
--- a/.gitlab-ci/fedora.Dockerfile
+++ b/.gitlab-ci/fedora.Dockerfile
@@ -53,6 +53,10 @@ RUN dnf -y install \
xdg-desktop-portal \
xz \
zlib-devel \
+ && dnf -y install 'dnf-command(builddep)' \
+ && dnf -y builddep \
+ xdg-desktop-portal \
+ gobject-introspection \
&& dnf clean all
RUN pip3 install meson==0.49.2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]