[gtk/gtk-3-24: 2/3] Try building static libs on CI
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 2/3] Try building static libs on CI
- Date: Tue, 19 Nov 2019 19:58:58 +0000 (UTC)
commit 656adece004d255bdbdff6d5c8ec4791458756e3
Author: Niklas Hambüchen <mail nh2 me>
Date: Mon Nov 11 20:11:16 2019 +0100
Try building static libs on CI
See #2248.
Cherry-Picked-From: 3936412332bb5953a8cb535a80fa76306939aead
.gitlab-ci.yml | 7 ++++++-
.gitlab-ci/test-docker-meson.sh | 1 +
2 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0d0f9ccd47..7475b1b0ad 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,7 +20,7 @@ fedora-distcheck:
script:
- bash -x ./.gitlab-ci/test-docker-autotools.sh
-fedora-meson:
+fedora-meson: &fedora-meson-defaults
stage: build
script:
- bash -x ./.gitlab-ci/test-docker-meson.sh
@@ -31,6 +31,11 @@ fedora-meson:
- "_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"
diff --git a/.gitlab-ci/test-docker-meson.sh b/.gitlab-ci/test-docker-meson.sh
index b7ac83e091..df3ed90ef8 100755
--- a/.gitlab-ci/test-docker-meson.sh
+++ b/.gitlab-ci/test-docker-meson.sh
@@ -16,6 +16,7 @@ meson \
-Dbroadway_backend=true \
-Dxinerama=yes \
-Dprint_backends="file,lpr,test,cloudprint,cups" \
+ ${EXTRA_MESON_FLAGS:-} \
_build
cd _build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]