Commit graph

120 commits

Author SHA1 Message Date
Felipe Borges
f87eb9fdb4 ci: Include gtk-doc in base container
We now build our docs by default, we need gtk-doc.

See commit dbbe0476cb
2024-04-08 15:33:56 +02:00
Matthijs Velsink
b43b7053b9 ci: Check sorting of POTFILES.in in fixed locale
Sorting is locale dependent, so make sure it is always the same.
2024-04-08 13:02:40 +00:00
Matthijs Velsink
60dfb43ccd ci: Fix potfiles check for submodules
Submodules can also contain translatable files, but the CI does not
automatically pull submodules.

Fix that for the potfiles check.
2024-04-08 13:02:40 +00:00
Matthijs Velsink
46e602415e ci: Add potfile check
This script checks for files that are translatable, but are missing from
POTFILES.in. Also, it checks whether files that are in POTFILES.in are
translatable at all or are missing.

Based on nautilus!1418.

Closes #2845
2024-04-08 13:02:40 +00:00
Peter Hutterer
dbbe0476cb ci: Build with our various conditional options enabled
Add another stage identical to the default build but this time with
the various off-by-default options enabled (one per job).
2024-04-04 07:23:57 +00:00
Hari Rana
d9970d4f27 flatpak: Suffix app ID with .Devel
This commit changes the app ID from `org.gnome.SettingsDevel` to `org.gnome.Settings.Devel`, as recommended by the GNOME Developer Documentation - https://developer.gnome.org/documentation/tutorials/application-id.html#application-id-for-flatpak-development.

Additionally, some changes have been made in the buildsystem, to properly substitute the app ID depending on the profile in use.
2024-03-21 16:14:31 +00:00
Felipe Borges
19f04f7605 ci: Rebuild container image with newer Fedora Rawhide 2024-02-26 13:21:09 +01:00
Andy Holmes
3dabda4a3d ci: build gnome-online-accounts from git
Due the unstable GOA API, namely the recent port to GTK4, GOA
needs to be built from current `master` to build and run.
2024-02-12 17:58:35 +00:00
Matthijs Velsink
a82b5ac9ef Revert "ci: Don't run style check on main"
Reverts d92b90d1, because `$CI_COMMIT_BRANCH` is not available for MRs...
2024-02-07 18:16:51 +00:00
Corey Berla
d92b90d1b6 ci: Don't run style check on main
It always succeeds, so we are just wasting resources.
2024-02-06 09:08:03 +00:00
Felipe Borges
639b7262d4 ci: Don't build GTK from the source
Our build container has the gtk version we need.
2024-02-01 12:47:49 +01:00
Felipe Borges
3f308c1756 ci: Depend on libgweather4-devel 2024-01-31 10:38:07 +01:00
Felipe Borges
6390af5c35 ci: Drop gcr3 package
We now depend on gcr >= 4.
2024-01-31 10:38:07 +01:00
Peter Hutterer
977a10aba4 CI: Remove systemtap-runtime to avoid podman failures
Fixes podman issue
  Error: Error reading blob sha256:4bb4a44c73af78e20e3d4c36bc1ce95b4b77a546f11a65babf752f869f1ca655:
  open /var/lib/containers/storage/vfs/dir/9b8cfd27e86ef18db67fbda7d61d72046f3f5d8ad312655713d4cd8b065c80cd/usr/bin/staprun: permission denied

Related to https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/1247
2024-01-31 09:17:50 +00:00
Peter Hutterer
3c8bd249f5 CI: Install clang-tools-extra for clang-format 2024-01-31 09:17:50 +00:00
Felipe Borges
a0732990c0 ci: Install 'glslc' for Gtk build with Vulkan 2024-01-08 10:01:51 +01:00
Felipe Borges
9880569714 ci: Stop building GLib from the source 2023-10-25 12:42:00 +02:00
Felipe Borges
52b8af088c ci: Allow failure for the style-check-diff CI job
This shouldn't block us from landing work, is more of a warning.
2023-10-12 10:09:44 +02:00
Dark Dragon
16e0c687bd Add style check to CI 2023-10-05 11:26:47 +00:00
Niels De Graef
bdc9986d1c ci: Use JUnit reports from Meson
Meson has been generating Junit XML files of its test results since
0.55, so we can use that to show the test results in the GitLab UI.
2023-08-23 23:56:41 +02:00
Felipe Borges
f83352e1bc ci: Be explicit about dnf5 during build
Since we are in this weird transition between dnf4->dnf5 in fedora
rawhide.
2023-08-11 08:50:09 +00:00
Felipe Borges
4a9214b1b9 ci: Build glib from the source
We were facing this CI build failure error

[573/879] Linking target panels/online-accounts/gnome-control-center-goa-helper
FAILED: panels/online-accounts/gnome-control-center-goa-helper
cc  -o panels/online-accounts/gnome-control-center-goa-helper panels/online-accounts/gnome-control-center-goa-helper.p/gnome-control-center-goa-helper.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--start-group /usr/lib64/libgoa-backend-1.0.so /usr/lib64/libgoa-1.0.so /usr/lib64/libgtk-3.so /usr/lib64/libgdk-3.so /usr/lib64/libz.so /usr/lib64/libatk-1.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libharfbuzz.so /usr/lib64/libgio-2.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libcairo-gobject.so /usr/lib64/libpango-1.0.so /usr/lib64/libcairo.so /usr/lib64/libglib-2.0.so /usr/lib64/libgobject-2.0.so -Wl,--end-group
/usr/bin/ld: /usr/lib64/libtracker-sparql-3.0.so.0: undefined reference to `g_assertion_message_cmpint'
collect2: error: ld returned 1 exit status

g_assertion_message_cmpint is available in newer glib than what's in
our container image.
2023-08-02 13:53:57 +02:00
Felipe Borges
250767e720 ci: Install dnf5-plugins instead of dnf-plugins-core
Since "builddep" is part of dnf5-plugins in DNF5.

See https://gitlab.gnome.org/GNOME/gnome-control-center/-/jobs/2933787

Unknown argument "builddep" for command "dnf5". Add "--help" for more information about the arguments.
$ echo "== Installing =="
== Installing ==
$ ninja -C _build install
ninja: Entering directory `_build'
ninja: fatal: chdir to '_build' - No such file or directory
Cleaning up project directory and file based variables 00:02
ERROR: Job failed: exit code 1
2023-07-11 13:16:52 +02:00
Felipe Borges
1e73e10435 ci: Add sassc dependency
Needed for our libadwaita local build.
2023-07-11 13:16:39 +02:00
Christopher Davis
bb88cddb5c ci: Add appstream and rebuild CI image
libadwaita 1.4 depends on appstream, and builds have
been failing because the subproject fails to build.

This commit adds appstream as a dependency so that
the libadwaita subproject can build without issues.
We also bump FDO_DISTRIBUTION_TAG to rebuild the image.
2023-06-07 17:43:24 -04:00
Maksym Hazevych
f13d0edab9 meson & ci: Update libadwaita dependency version 2023-06-06 13:40:33 +00:00
Bastien Nocera
16702a1b00 ci: Build own GTK version
So that the "Finalizing foo, but it still has children left" message is
not truncated. This commit will be reverted when GTK is new enough in
our image.
2023-03-14 19:42:59 +01:00
Bastien Nocera
4d2803dc4c ci: Update CI image
Bump the version of the CI image to force a rebuild. This should bring
us a newer version of Mesa that would fix problems running GTK4 with
Xvfb as a display server:
libEGL fatal: did not find extension DRI_Mesa version 1

Closes: #2397
2023-03-14 18:05:09 +01:00
Georges Basile Stavracas Neto
10cf38fb87 ci: Bump FDO_DISTRIBUTION_TAG
Let's build a newer image, with a more recent version of GLib.
2023-02-14 13:31:23 -03:00
Marco Melorio
6629701885 ci: Disable rotfiles-fuse from flatpak build
It makes the build fail apparently.
2022-11-24 13:20:13 +01:00
Marco Melorio
7ad4c2d065 ci: Remove unneeded copying in the flatpak build
This was missing out the `polkit-autogen` file, so the flatpak build was
failing because of that. Fix this by removing the copying phase and use
the correct manifest path directly instead.
2022-11-24 13:20:13 +01:00
Michael Catanzaro
a57202adcb Update rawhide CI image
We need a newer image to get GTK 4.8
2022-10-25 15:09:33 -05:00
Michael Catanzaro
560659ffb3 Update rawhide CI image
We need a newer image to get GTK 4.8
2022-10-25 19:02:33 +00:00
Pablo Correa Gómez
2374048e53 ci: Install setxkbmap needed for tests and upgrade image
Otherwise, any other operation running the tests has the utility missing
2022-10-25 19:02:33 +00:00
Pablo Correa Gómez
40ebc30fb8 ci: Make sure the project is built before running the tests 2022-10-25 19:02:33 +00:00
Sebastian Keller
7f6dc4511f tests: Add test for keyboard shortcut normalization
This tests if the shortcuts generated from an event are in the format
that the shell expects.
2022-08-22 12:49:13 +00:00
Bartłomiej Piotrowski
1720d39c83 Update (or drop) the Docker image used by Flatpak job
The gnome-runtime-images have been recently migrated to Quay. This is already reflected in the template.

Please note this MR has been created semi-automatically. If it doesn't make sense, feel free to close it.
2022-07-27 12:43:42 +02:00
Georges Basile Stavracas Neto
bbe3ae4a91 Switch to 'main' everywhere 2022-04-26 14:43:01 -03:00
Georges Basile Stavracas Neto
f42868e616 CI: Fix custom deps script 2022-03-29 11:07:53 -03:00
Georges Basile Stavracas Neto
6898ff58d2 CI: Build libgweather with soup2
It'll bite us in the future, but let's go with this for now.
2022-03-29 10:47:42 -03:00
Georges Basile Stavracas Neto
dd2adb77ec CI: Cleanup gcr-devel from jobs
gcr-devel is installed as part of the base image, we don't need to
install it on every job run.
2022-03-29 10:38:53 -03:00
Georges Basile Stavracas Neto
ebc54deb62 Ci: Build libgweather from main 2022-03-29 09:27:33 -03:00
Benjamin Berg
8d75b24ccc ci: Only use runners with working close_range syscall
If the wrong error code is returned due to broken seccomp filters, then
g_spawn will fail and the tests break.

See https://gitlab.gnome.org/Infrastructure/GitLab/-/issues/545
2022-03-07 19:51:26 +00:00
Bastien Nocera
38cb514d56 ci: Rebuild CI image for gnome-bluetooth library changes
The gnome-bluetooth libraries got split in
https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/merge_requests/103
so we need to rebuild the CI image to integrate those changes.
2022-01-19 13:46:43 +01:00
Bastien Nocera
76b5b2d542 ci: Rebuild image to get newer gnome-bluetooth
The API is new.
2022-01-18 16:25:25 +01:00
Bastien Nocera
e5bf16d65e ci: Build gnome-settings-daemon in CI
As we usually need g-c-c and g-s-d to be upgraded in lockstep.
2022-01-10 19:44:24 +01:00
Bastien Nocera
003a5182b9 ci: Rebuild image with newer gsettings-desktop-schemas 2022-01-05 11:24:04 +01:00
Georges Basile Stavracas Neto
b3b86894e9 ci: Update image with new GTK4 dependencies
Build gnome-bluetooth, gnome-desktop, and colord-gtk from
their master/main branches, which should include support for
GTK4.
2021-12-14 22:34:21 -03:00
Mohammed Sadiq
dc840f0aec wwan: Add new panel for modem management
The panel supports 2G/3G/4G GSM/LTE modems. CDMA2000 Modems are not supported.
If a supported modem is present, the panel will be shown and the modem will be
handled, else, network-panel shall manage the modem as it did in the past.

If more than one modem with data enabled is present, the user is allowed to set
priority of one SIM over the other (the priority is for SIM, not modem).

Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/issues/132
2021-08-13 19:25:41 +00:00
Jordan Petridis
f5d5d1ce98 ci: Refactor ci-template setup
Instead of building the image on a schedule, use a user-incrementable
tag and try to build the image on each pipeline.

If the image tag does not exist, a new one is built and pushed.
If its already built the job is a no-op and the existing image
is used.
2021-08-05 23:22:14 +00:00