[nautilus] CI: Make build an artifact to avoid building twice.



commit 9f123b396f9918c2561997474990168ba6a21250
Author: Carlos Soriano <csoriano1618 gmail com>
Date:   Fri Mar 16 19:54:42 2018 +0000

    CI: Make build an artifact to avoid building twice.

 .gitlab-ci.yml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6ea151e81..7ad65d42e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,20 +13,19 @@ build:fedora:
                  gobject-introspection-devel libselinux-devel
                  libxml2-devel tracker-devel desktop-file-utils
                  libgexiv2-devel gcovr
-    - meson _build .
+    # Waiting for gcovr 3.5 to be released.
+    - pip install git+https://github.com/gcovr/gcovr.git
+    - meson _build . -Db_coverage=true
+    artifacts:
+        paths:
+        - _build
 
 test:fedora:
     image: fedora:28
     stage: test
+    dependencies:
+    - build:fedora
     script:
-    - dnf install -y gcc meson gettext itstool redhat-rpm-config git
-                 gtk3-devel gnome-autoar-devel gnome-desktop3-devel
-                 gobject-introspection-devel libselinux-devel
-                 libxml2-devel tracker-devel desktop-file-utils
-                 libgexiv2-devel gcovr
-    # Waiting for gcovr 3.5 to be released.
-    - pip install git+https://github.com/gcovr/gcovr.git
-    - meson _build . -Db_coverage=true
     # Coverage data contains paths relative to the build directory,
     # so changing to it makes writing filter expressions easier.
     #
@@ -60,6 +59,7 @@ build:flatpak:
     artifacts:
         paths:
           - nautilus-dev.flatpak
+         expire_in: 2 days
 
     
 build:rawhide:


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