Commit graph

105 commits

Author SHA1 Message Date
Felipe Borges
769c790ff8 ci: Use a F39 container image for the stable gnome-45 branch 2024-04-16 16:40:40 +02:00
Felipe Borges
afa9438155 ci: Build the gtk4 version in F39 to match container image 2024-04-16 16:40:40 +02:00
Peter Hutterer
d64153160d 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-04-16 16:21:10 +02:00
Felipe Borges
2af7116f59 ci: Stop building GLib from the source 2023-10-27 17:11:28 +02: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
Bastien Nocera
f644b37887 ci: Fix gnome-40 CI
Commit f85750274c removed grilo-devel from
the dependency list, but the images generated by the CI on the
development branch are also the ones used for older branches.

This can be seen by all the CI jobs on the gnome-40 branch:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/commits/gnome-40
failing the day after the grilo dep was removed:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/981
2021-07-21 12:48:40 +02:00
Debarshi Ray
f85750274c background: Drop the unused build dependency on Grilo
The code that uses Grilo to fetch the user's Flickr photos isn't
actually used by the Background panel, to the extent that the final
binary doesn't even link against Grilo. Getting rid of this unused code
will ensure that distributors aren't needlessly pulling in this
dependency.

https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1345
2021-04-20 23:04:10 +02:00
Benjamin Berg
056a684c29 ci: Update to new FDO template 2020-12-11 10:27:47 +01:00
Robert Ancell
3cad3aaf41 ci: Correctly update the submodules on build. 2020-10-03 22:58:21 +00:00
Jordan Petridis
92a79d2339 ci: remove deprecated jobs
The functionality of these jobs exists in the normal
build job now and they are no longer needed.

citemplates@544836ee
2020-08-02 16:39:28 +00:00
Benjamin Berg
8658123f8b ci: Run ASAN on privileged runner
It needs to be able to attach to processes.
2020-05-11 19:43:38 +00:00
Benjamin Berg
0052889e11 ci: Specify full registry path for forks
Otherwise forks will try to find the image in their own registry which
cannot work.
2020-05-07 16:04:58 +02:00
Benjamin Berg
01f3aa00d8 ci: Switch to use the FDO CI templates
This effectively means we do not build on non-x86_64. But the template
gives us a well maintained base.

Also added into the image is gsettings-desktop-schemas from git, so that
the scheduled job only needs to be manually run when an update is
needed.
2020-05-07 15:27:55 +02:00
Georges Basile Stavracas Neto
054b16b681 ci: Move ASAN to manual stage
ASAN hasn't been useful so far; we don't really see
meaningful results from it, it takes a long time to
run since it builds Settings twice, etc.

Move it to manual.
2020-02-20 12:00:37 -03:00
Benjamin Berg
6b08deff69 ci: Fix build of docker images
Building the docker images has been failing for a while now. The root
cause appears to be a docker upgrade causing issues with TLS. See
  https://about.gitlab.com/blog/2019/07/31/docker-in-docker-with-docker-19-dot-03/

Update the configuration so that the images can be built again.

Thanks to Bartłomiej Piotrowski for debugging the issue and solving it
for gnome-settings-daemon!
2019-12-03 12:33:39 +00:00
Felipe Borges
a1c48ce477 flatpak: Use the Nightly variant of the application icon
For the "development" profile, lets use the Nightly variant, to
visually indicate to users that they are running an unstable
version of the application.
2019-10-14 20:25:39 +00:00
Georges Basile Stavracas Neto
dc50111829
ci: Fix tests with tags
We need to run the tests, and when on tags, run 'ninja dist'.
Just that.
2019-03-11 16:16:50 -03:00
Georges Basile Stavracas Neto
7762c15277
ci: Run tests with meson
So that we can run a more complete version of the
tests.
2019-03-11 16:16:11 -03:00
Georges Basile Stavracas Neto
977a7d7d06
ci: Don't install libudisks2
[skip ci]
2019-03-11 15:12:46 -03:00
Georges Basile Stavracas Neto
3da2c39577
ci: Use fedora:latest for Ppc64le
[skip ci]
2019-03-11 14:40:45 -03:00