[gom/wip/hadess/check-abi: 1/2] ci: Split off dependencies into a variable




commit 04bdad815311ad0252409c3964085f9f0e933e41
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Feb 10 12:13:39 2021 +0100

    ci: Split off dependencies into a variable

 .gitlab-ci.yml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c74e6da..cc04fb3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,11 +1,24 @@
 stages:
 - test
 
+variables:
+  DEPENDENCIES:
+    gcc
+    redhat-rpm-config
+    meson
+    gtk-doc
+    glib2-devel
+    gobject-introspection-devel
+    gdk-pixbuf2-devel
+    sqlite-devel
+    pygobject3-devel
+    python3-devel
+
 build-fedora:
   image: fedora:latest
   stage: test
   before_script:
-    - dnf install -y gcc redhat-rpm-config meson gtk-doc glib2-devel gobject-introspection-devel 
gdk-pixbuf2-devel sqlite-devel pygobject3-devel python3-devel
+    - dnf install -y $DEPENDENCIES
     # scriptlets bug?
     - gdk-pixbuf-query-loaders-64 > /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders.cache
   script:


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