[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 12:43:24 +0000 (UTC)
commit e5a6d4a1c8882efd0b3a0a591916b0e4e236d79f
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..1b145a3c71 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:${CI_PROJECT_DIR}/_install/share/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]