[gtk/ci-install-build: 1/3] ci: Test building against installed GTK
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ci-install-build: 1/3] ci: Test building against installed GTK
- Date: Wed, 9 Jun 2021 11:41:14 +0000 (UTC)
commit 4ce134df98e18a77144a5eb0d1868030a2a7fbf2
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jun 8 17:39:34 2021 -0400
ci: Test building against installed GTK
This is meant to ensure that we e.g. install the
right header files, and so on.
.gitlab-ci.yml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f195a3374f..67b9f68074 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -79,9 +79,14 @@ fedora-x86_64:
script:
- .gitlab-ci/show-info-linux.sh
- meson subprojects update
- - meson ${COMMON_MESON_FLAGS} ${EXTRA_MESON_FLAGS} ${BACKEND_FLAGS} ${FEATURE_FLAGS}
+ - mkdir _install
+ - meson --prefix=${CI_PROJECT_DIR}/_install
+ ${COMMON_MESON_FLAGS} ${EXTRA_MESON_FLAGS} ${BACKEND_FLAGS} ${FEATURE_FLAGS}
_build
- - ninja -C _build
+ - meson compile -C _build
+ - meson install -C _build
+ - PKG_CONFIG_PATH=${CI_PROJECT_DIR}/_install/lib64/pkgconfig meson setup _build_hello examples/hello
+ - meson compile -C _build_hello
- .gitlab-ci/run-tests.sh _build x11
- .gitlab-ci/run-tests.sh _build wayland
- .gitlab-ci/run-tests.sh _build broadway
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]