[gnome-software] ci: Use `dnf builddep`, enable rpm-ostree by default
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] ci: Use `dnf builddep`, enable rpm-ostree by default
- Date: Fri, 18 May 2018 06:44:43 +0000 (UTC)
commit 3c8e1dc6c7fb1963d5fedfda1c21ee45b5af6fe2
Author: Colin Walters <walters verbum org>
Date: Wed May 16 15:29:50 2018 -0400
ci: Use `dnf builddep`, enable rpm-ostree by default
We use this pattern in the ostree CI, no reason to replicate
all of the build dependencies here.
And enable-rpm-ostree CI.
.gitlab-ci.yml | 40 ++++++----------------------------------
1 file changed, 6 insertions(+), 34 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 76e0b5c9..586f98c0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,44 +4,16 @@ stages:
- build
before_script:
- - dnf update -y
- - >
- dnf install -y \
- desktop-file-utils \
- docbook-style-xsl \
- dpkg \
- flatpak-devel \
- fwupd-devel \
- gcc \
- gettext \
- glib2-devel \
- gnome-desktop3-devel \
- gsettings-desktop-schemas-devel \
- gtk3-devel \
- gtk-doc \
- gspell-devel \
- json-glib-devel \
- libappstream-glib-devel \
- libgudev1-devel \
- liboauth-devel \
- libsecret-devel \
- libsoup-devel \
- libxslt \
- meson \
- ninja-build \
- ostree-devel \
- PackageKit \
- PackageKit-glib-devel \
- polkit-devel \
- rpm-devel \
- snapd-glib-devel \
- sqlite-devel \
- valgrind-devel
+ # Update and use base build deps
+ - dnf update -y && dnf -y install dnf-plugins-core @buildsys-build
+ - dnf -y builddep gnome-software
+ # Some deps may not be sync'd
+ - dnf -y install rpm-ostree-devel
build-gnome-software:
stage: build
script:
- - meson -Denable-fwupd=false _build .
+ - meson -Denable-fwupd=false -Denable-rpm-ostree=true _build .
- ninja -v -C _build
- mkdir -p /run/dbus
- mkdir -p /var
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]