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



commit 4d772ef22ec4cdd2b5214102a87ab5af25449062
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]