Commit graph

114 commits

Author SHA1 Message Date
Matthew Waters
fc30006290 ci/abi-check: provide the header dir to abidw
Allows the abi diff check to correctly filter out private types.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7981>
2024-11-27 14:57:48 +00:00
Matthew Waters
5b32fe7b24 ci: add an ABI check job
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
2024-11-18 12:11:57 +11:00
L. E. Segovia
e0f0b5c829 ci/windows: Add WiX v5
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7881>
2024-11-15 12:16:04 +00:00
Jordan Petridis
145321929c ci/fedora: Install mesa-va-drivers package
In the CI we don't have x11 or wayland compositor running,
so the va plugins don't initialize and the tests will keep
running against software encoders/decoders.

However when running locally or inside toolbox, this will
allow va plugins to initialize and be tested.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7762>
2024-11-02 11:46:25 +00:00
Jordan Petridis
94737cc108 ci: Install all the glbic langpacks in the fedora image
Also remove the coreutils swap from the toolbox since
it's already done in the base image

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7762>
2024-11-02 11:46:25 +00:00
Jordan Petridis
dba08b2405 ci/fedora: Remove the usage of builddep when creating the image
Instead list all the dependencies we want explicitly so we have
more control over them and avoid changes we didn't anticipate
based on the fedora package metadata and updates.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7762>
2024-11-02 11:46:25 +00:00
Jordan Petridis
b3b15764ac ci: Add more explicit deps into fedora/deps.txt
And use the pkgconfig() syntax to install things based
on the .pc file rather than the package name.

Current list generated from meson introspect --dependencies

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7762>
2024-11-02 11:46:25 +00:00
Jordan Petridis
9cf259229a ci/fedora: Add qt6 packages to the deps
It's already getting installed but add them explicitly

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7762>
2024-11-02 11:46:24 +00:00
Guillaume Desmottes
62de46872c ci: install qrencode
Required to build the qroverlay plugin.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7649>
2024-10-31 15:02:59 +00:00
Jordan Petridis
ef4bb38ebe ci/windows: Bump meson version to 1.5.2
This matches the version we use in linux [1]

[1] b3a5da5b5c

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7434>
2024-10-26 14:19:05 +03:00
Tim-Philipp Müller
b3a5da5b5c ci: pin Meson on fedora/debian docker images to 1.5.2 for now
Fixes g-ir-scanner breakage that seems to happen with latest Meson 1.6.0.

/usr/bin/ld: build/tmp-introspectki7q5vp9/GstBase-1.0.o: undefined reference to symbol 'gst_init'
/usr/bin/ld: build/subprojects/gstreamer/gst/libgstreamer-1.0.so.0: error adding symbols: DSO missing from command line

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7753>
2024-10-25 19:27:06 +01:00
Detlev Casanova
1c0ed5137e ci: fedora: deps: Add systemd-udev
An udevd implementation is needed to run virtme tests.

In Fedora 40, it is provided by systemd-udev, add it as a dependency.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
2024-10-25 13:55:20 +00:00
Edward Hervey
1a1f1f3e0a ci/docs: Use new changes from hotdoc
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
2024-10-25 13:55:20 +00:00
Jordan Petridis
60f71b14d5 ci: fluster: add bc to the image
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
2024-10-25 13:55:19 +00:00
Jordan Petridis
8bb75d0234 ci: Do not install weak_deps into the image
Only pull what we need to keep the image size smaller.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
2024-10-25 13:55:19 +00:00
Jordan Petridis
7cf69a0f2f ci: Create a separate image for fluster
Move the fluster setup into it's own image.

It's only one job using it and this allows us to make
the build image used for the rest of the jobs smaller.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
2024-10-25 13:55:19 +00:00
Jordan Petridis
6ebf8de722 ci: Enable the debuginfo repos in the images
Always enable the debuginfo repos, so the debug packages
installed are automatically kept in sync when upgrading
the system.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
2024-10-25 13:55:19 +00:00
Jordan Petridis
815a26f982 ci: Ensure only rustc from rustup is installed
We use rustup to source our rustc toolchain, however
due to rust being a common dependency, the toolchain
might get install when installing build depds of
packages.

Ensure rust can cargo are removed if that happens

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
2024-10-25 13:55:19 +00:00
Jordan Petridis
a31c8cf370 ci: Push a dedicated toolbox image
This is mostly done to remove the hardcoded HOME
env var that ci-templates appends to the image. See [1]

[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2433#note_2243222

But it also allows us to add extra things useful for local
development to it, as long they don't interfere with the
build enviornment.

This also means we can switch the build image to be based
on top of the normal fedora one rather than toolbox,
so it will no longer advertise the toolbox compatible labels
since it was buggy anyway.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
2024-10-25 13:55:19 +00:00
Edward Hervey
10437c1677 ci: Install valgrind-devel
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
2024-10-25 13:55:19 +00:00
Jordan Petridis
d9c35760b8 ci: Update fedora base image to f40
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
2024-10-25 13:55:18 +00:00
Sebastian Dröge
d56fa94146 ci: Update to Rust 1.82
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7678>
2024-10-17 22:39:45 +00:00
Sebastian Dröge
0f5e894931 ci: Update to Rust 1.81
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7458>
2024-09-05 20:05:38 +00:00
Tim-Philipp Müller
2263caff45 ci: update Rust to 1.80.1 and cargo-c to 10.3
And use cargo install --locked

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7326>
2024-08-14 04:34:28 +00:00
Jordan Petridis
1126c1d90e ci: Use gst-indent-1.0 in the lint job
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6624>
2024-05-28 13:27:57 +00:00
Jordan Petridis
83694a1094 ci: Remove pip install version limits for meson/hotdoc
We used to have them pinned to avoid unexpected issues
when we wanted to update the image, however we haven't
needed them lately and we should be good to install the
latest stable version always.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6656>
2024-04-24 15:01:27 +00:00
Jordan Petridis
472d1b52d3 ci: Add a simple build job based on debian
The gstreamer-rs repos use debian based images already,
which we can later base on this one. Additionally it's
good to have another distro target so we avoid weird
fedoraisms when possible.

It will also be simpler to keep it up to date, as we
don't need to run the test suite against this build as
well.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6656>
2024-04-24 15:01:27 +00:00
Sebastian Dröge
78099afdbe ci: Update to Rust 1.77.2
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6593>
2024-04-11 02:00:28 +00:00
Sebastian Dröge
9854c79ad6 ci: Update to Rust 1.77.1
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6482>
2024-03-29 19:55:09 +00:00
Sebastian Dröge
cfe55115c3 ci: Update to Rust 1.77 / cargo-c 0.31 / rustup 1.27
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6426>
2024-03-22 21:31:03 +00:00
Jordan Petridis
dc5b866d87 ci: Run the commit lint job as a user
Part of #2433

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5938>
2024-02-20 18:28:52 +02:00
Sebastian Dröge
d49a2ae00f ci: Update to cargo-c 0.9.30
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6106>
2024-02-13 21:25:08 +00:00
Sebastian Dröge
847eac6e16 ci: Update to Rust 1.76
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6075>
2024-02-08 22:00:59 +00:00
Jonas K Danielsson
0850922104 docker: fedora: Add srt lib
This should enable the srt plugin.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5440>
2024-02-02 15:08:02 +00:00
Sebastian Dröge
9dc29d12a3 ci: Update to Rust 1.75
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5872>
2023-12-29 09:38:49 +02:00
Sebastian Dröge
773ea1c65e ci: Update to cargo-c 0.9.28
And remove useless comment.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5698>
2023-11-21 21:00:50 +00:00
Sebastian Dröge
6ee94cd8c7 ci: Update to Rust 1.74
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5680>
2023-11-17 02:48:59 +00:00
Jordan Petridis
579c9285c1 ci: Move fedora pkg list in a .txt file
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5629>
2023-11-13 13:28:03 +02:00
Jordan Petridis
5c86cad51d fedora/install-deps: Install more debug symbols
This adds roughly 3 GB to the CI image, but assures us that we will
have most of debug symbols installed, minus a some big ones we
don't need and filter out.

The size increase is not that impactful as it's a one time cost,
since the images get cached in the runners afterwards.

This will improve stacktraces we get from the CI and validate.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5629>
2023-11-12 17:31:06 +00:00
Jordan Petridis
7e6cb3e15f create-subprojects-cache: Remove git gc call
The repos on github/gitlab are mostly pruned when we
clone them now, so we can remove the manual gc and make
the build faster.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5629>
2023-11-12 17:31:06 +00:00
Jordan Petridis
abda8d362a ci: Split the fedora prepare.sh script
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5629>
2023-11-12 17:31:06 +00:00
Mathieu Duponchelle
169e38cbe6 ci: bump hotdoc version to 0.16
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5630>
2023-11-09 16:31:36 +02:00
Detlev Casanova
d005079ec4 ci: fedora: Install virtme-ng and fluster
Also install extra packages:
  - busybox
  - iproute
  - qemu-system-x86

These are necessary for virtme to run a script in the virtual machine.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5434>
2023-10-31 10:18:46 -04:00
Detlev Casanova
1e2c435d6c ci: fedora: Build a linux image for virtme tests
This is a preparation commit to add a linux kernel image to be used in
the virtme tests.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5434>
2023-10-31 10:18:45 -04:00
Jordan Petridis
080c837cd6 ci: fedora: Install a more recent wayland-protocols version
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1060>
2023-10-22 05:23:30 +03:00
Philippe Normand
3779eb5c83 ci: Make the fedora image toolbox compatible
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1060>
2023-10-22 05:23:29 +03:00
Jordan Petridis
98eab9a562 ci: fedora/prepare: use curl to download rustup instead of wget
We install curl anyway as a dependency of the plugins

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1060>
2023-10-22 05:23:29 +03:00
Jordan Petridis
88e6dd0555 ci: switch the Fedora base image to f34
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1060>
2023-10-22 05:23:28 +03:00
Sebastian Dröge
793b980740 ci: Update to cargo-c 0.9.27
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5454>
2023-10-12 10:53:58 +00:00
Sebastian Dröge
9bc9757d13 ci: Update to Rust 1.73
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5454>
2023-10-12 10:53:58 +00:00