[rhythmbox/wip/sam/meson: 1/2] ci: Move Ubuntu build requires to a variable




commit 59fd47aaec9d0af723984a56d11ef950537c1f84
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Oct 25 14:16:48 2021 +0200

    ci: Move Ubuntu build requires to a variable

 .gitlab-ci.yml | 42 ++++++++++++++++++++++++++++++++----------
 1 file changed, 32 insertions(+), 10 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b50729db3..2c53b76a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,18 +3,40 @@ image: ubuntu:bionic
 stages:
   - test
 
+variables:
+  UBUNTU_DEPS:
+    build-essential
+    intltool
+    gtk-doc-tools
+    pkg-config
+    libgtk-3-dev
+    libgstreamer1.0-dev
+    libgstreamer-plugins-base1.0-dev
+    libgdk-pixbuf2.0-dev
+    libglib2.0-dev
+    libgpod-dev
+    libtotem-plparser-dev
+    libsoup2.4-dev
+    libgudev-1.0-dev
+    libmtp-dev
+    libnotify-dev
+    libbrasero-media3-dev
+    libsecret-1-dev
+    libpeas-dev
+    yelp-tools
+    x11proto-core-dev
+    liblircclient-dev
+    python3-dev
+    python-gi-dev
+    libdmapsharing-3.0-dev
+    libjson-glib-dev
+    libgrilo-0.3-dev
+    libxml2-dev
+    libtdb-dev
+
 before_script:
   - apt-get update
-  - apt-get install -y build-essential intltool gtk-doc-tools pkg-config
-                       libgtk-3-dev libgstreamer1.0-dev
-                       libgstreamer-plugins-base1.0-dev libgdk-pixbuf2.0-dev
-                       libglib2.0-dev libgpod-dev libtotem-plparser-dev
-                       libsoup2.4-dev libgudev-1.0-dev libmtp-dev libnotify-dev
-                       libbrasero-media3-dev
-                       libsecret-1-dev libpeas-dev yelp-tools x11proto-core-dev
-                       liblircclient-dev python3-dev python-gi-dev
-                       libdmapsharing-3.0-dev libjson-glib-dev libgrilo-0.3-dev
-                       libxml2-dev libtdb-dev
+  - apt-get install -y $UBUNTU_DEPS
 
 test:
   stage: test


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]