[gnome-control-center/wip/hadess/bump-gsd-req: 1/2] ci: Build gnome-settings-daemon in CI
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/hadess/bump-gsd-req: 1/2] ci: Build gnome-settings-daemon in CI
- Date: Sat, 16 Oct 2021 21:11:29 +0000 (UTC)
commit 6856e56399e962b5be6af9edd17d28a253bc24f5
Author: Bastien Nocera <hadess hadess net>
Date: Sat Oct 16 20:52:58 2021 +0200
ci: Build gnome-settings-daemon in CI
As we usually need g-c-c and g-s-d to be upgraded in lockstep.
.gitlab-ci.yml | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index aa8874c04..4787dad29 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -87,7 +87,6 @@ build.container.fedora@x86_64:
gnome-bluetooth-libs-devel
gnome-desktop3-devel
gnome-online-accounts-devel
- gnome-settings-daemon-devel
grilo-devel
gsettings-desktop-schemas-devel
gsound-devel
@@ -123,6 +122,30 @@ build.container.fedora@x86_64:
ninja -C _build install && \
cd ..
+.Install gsd deps: &install_gsd_deps
+ dnf -y install
+ geocode-glib-devel
+ libgweather-devel
+ lcms2-devel
+ geoclue2-devel
+ libnotify-devel
+ alsa-lib-devel
+ nss-devel
+
+.Compile and Install gsd: &compile_and_install_gsd
+ git clone https://gitlab.gnome.org/GNOME/gnome-settings-daemon.git &&
+ cd gnome-settings-daemon &&
+ meson . _build --prefix=/usr &&
+ ninja -C _build &&
+ ninja -C _build install &&
+ cd ..
+
+.Install gsd: &install_gsd
+ cd gnome-settings-daemon &&
+ ninja -C _build install &&
+ cd ..
+
+
##
# Stage: Build
#
@@ -140,6 +163,8 @@ build:
script:
- dnf -y install gcr-devel
+ - *install_gsd_deps
+ - *compile_and_install_gsd
- *environment_information
- *build_procedure
@@ -173,6 +198,8 @@ test:
script:
- dnf -y install gcr-devel
+ - *install_gsd_deps
+ - *install_gsd
- *environment_information
- *run_tests
@@ -202,6 +229,8 @@ coverage:
script:
- dnf -y install gcr-devel
+ - *install_gsd_deps
+ - *compile_and_install_gsd
- *environment_information
- *build_procedure
- *run_tests
@@ -318,6 +347,8 @@ flatpak:
when: manual
script:
- dnf -y install gcr-devel
+ - *install_gsd_deps
+ - *compile_and_install_gsd
- *environment_information
- *build_procedure
- *run_tests
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]