[gtk: 2/3] Try building static libs on CI
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 2/3] Try building static libs on CI
- Date: Fri, 15 Nov 2019 23:25:37 +0000 (UTC)
commit 3936412332bb5953a8cb535a80fa76306939aead
Author: Niklas Hambüchen <mail nh2 me>
Date: Mon Nov 11 20:11:16 2019 +0100
Try building static libs on CI
.gitlab-ci.yml | 7 ++++++-
.gitlab-ci/test-docker.sh | 1 +
2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 630497088b..453ca1c100 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,7 +12,7 @@ stages:
- subprojects/libepoxy/
- subprojects/pango/
-fedora-x86_64:
+fedora-x86_64: &fedora-x86_64-defaults
image: registry.gitlab.gnome.org/gnome/gtk/master:v7
stage: build
script:
@@ -33,6 +33,11 @@ fedora-x86_64:
key: "$CI_JOB_NAME"
<<: *cache-paths
+fedora-x86_64-staticlibs:
+ variables:
+ EXTRA_MESON_FLAGS: "-Ddefault_library=both"
+ <<: *fedora-x86_64-defaults
+
.mingw-defaults: &mingw-defaults
stage: build
tags:
diff --git a/.gitlab-ci/test-docker.sh b/.gitlab-ci/test-docker.sh
index 78df6f74bc..6b5a7301a1 100755
--- a/.gitlab-ci/test-docker.sh
+++ b/.gitlab-ci/test-docker.sh
@@ -17,6 +17,7 @@ meson \
-Dbroadway-backend=true \
-Dvulkan=yes \
--werror \
+ ${EXTRA_MESON_FLAGS:-} \
_build $srcdir
unset CCACHE_DISABLE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]