[gtk/ci-gtk3-update: 10/20] ci: Build both static and shared libraries at once



commit 14dba9545e1d86dddae669c54af7dc8934209b9e
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Mar 8 13:24:08 2020 +0000

    ci: Build both static and shared libraries at once
    
    There's no need to have two separate CI jobs: Meson can build both
    libraries at the same time.

 .gitlab-ci.yml | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cef2446537..96488f2ccd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,8 +20,10 @@ fedora-distcheck:
   script:
    - bash -x ./.gitlab-ci/test-docker-autotools.sh
 
-fedora-meson: &fedora-meson-defaults
+fedora-meson:
   stage: build
+  variables:
+    EXTRA_MESON_FLAGS: "-Ddefault_library=both"
   script:
    - bash -x ./.gitlab-ci/test-docker-meson.sh
   artifacts:
@@ -31,11 +33,6 @@ fedora-meson: &fedora-meson-defaults
       - "_build/meson-logs"
       - "_build/testsuite/reftests/output"
 
-fedora-meson-staticlibs:
-  variables:
-    EXTRA_MESON_FLAGS: "-Ddefault_library=both"
-  <<: *fedora-meson-defaults
-
 msys2-mingw32-meson:
   variables:
     MSYSTEM: "MINGW32"


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