Commit graph

149 commits

Author SHA1 Message Date
Matthew Waters
bdd48eae46 ci: update macos image to 14 sonoma
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5548>
2023-10-27 00:34:06 +00:00
Jordan Petridis
a7c1da6ce5 build: Do not try to build gst-python when introspection is disabled
Close #1604

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4648>
2023-10-25 06:48:42 +00:00
Tim-Philipp Müller
2193022d67 ci: documentation: git reset only checked-in *wrap files before diffing
Otherwise it will abort and complain about not-checked wrap
files that got promoted by meson, such as:
error: pathspec 'subprojects/gvdb.wrap' did not match any file(s) known to git

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2126>
2023-10-22 11:28:59 +01:00
Jordan Petridis
66c5b13dd8 ci: docs: disable svthevcenc for the docs job
While updating the base image we run into a handful of issues
with the svthevcenc element. Disable it for now from the documentation
job to not block the rest of the image update.

We can revert this commit once [1] is fixed.

[1]: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5447

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1060>
2023-10-22 05:23:30 +03:00
Jordan Petridis
118841cc49 ci: Build glib subproject fallback for clang builds
We currently have glib 2.68 in the image, which produces a couple
of warning around g_atomic_ apis. This has since been
fixed/worked around in glib itself [1] [2] [3]. Build the subproject
until we update to a toolchain/ci-image with new enough glib.

[1] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2114
[2] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2578
[3] https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2864

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1060>
2023-10-22 05:23:29 +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
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
Jordan Petridis
8057597dd2 ci: Rework use of BUILD_GST_DEBUG and BUILD_TYPE variables
When using parallel:matrix variables, only the value of the
variable is shown in the Gitlab GUI and thus we end up with
a job name resembling "build fedora gcc: [both, true]".

Pass down the whole string/arguments as the matrix variable
values so that we will have a bit more context.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4698>
2023-10-03 19:59:05 +03:00
Sebastian Dröge
acccc91005 ci: Pass correct cache dir to handle-subprojects-cache.py
The variable is not set and all other places directly use
`/subprojects`.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5412>
2023-10-02 09:48:24 +03:00
Jordan Petridis
9ec430c713 ci: Update ci-templates ref
Needed for https://gitlab.freedesktop.org/freedesktop/ci-templates/-/merge_requests/189

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5367>
2023-09-30 02:07:11 +02:00
Matthew Waters
e7fc0400bc ci: add macos (arm64) CI
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5262>
2023-09-29 11:14:42 +00:00
Nicolas Dufresne
bb979d8bc7 ci: Check video formats order
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5304>
2023-09-10 19:06:07 -04:00
Tim-Philipp Müller
1bfd8a9fb1 ci: disable gstreamer-sharp tests for gcc/clang matrix builds
gstreamer-sharp tests do some kind of nuget download as part of
the configure, and this frequently fails on the CI (possibly
because we're hammering it with parallel requests).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5251>
2023-09-08 11:02:45 +00:00
Jordan Petridis
94593735d3 ci: Update ci-templates ref
Needed primarily for the fix in:

https://gitlab.freedesktop.org/freedesktop/ci-templates/-/merge_requests/188

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5266>
2023-08-31 12:04:17 +03:00
Jordan Petridis
3db2159fc4 ci: Add ca-certificates to the indent image
This is needed to rebuild the image

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5235>
2023-08-27 07:58:09 +03:00
Jordan Petridis
182fa11c0e ci: Check the formatting of rust files
Part of #2930

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5235>
2023-08-27 07:58:09 +03:00
Tim-Philipp Müller
f27b21b509 ci: re-enable gst-plugins-rs in the documentation job
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5166>
2023-08-10 13:11:48 +00:00
Nirbheek Chauhan
11f69464bd ci: Disable arm64 job till we figure out what's wrong
This is probably a Visual Studio installer issue, maybe the ARM64
workload isn't getting installed anymore.
2023-08-10 14:54:15 +05:30
Nicolas Dufresne
8c3edd231e ci: Disable plugins-rs in the doc build
The plugins-rs scripts dependson python 3.8, while the docker image only has
3.7 and depends on glib 2.66, while we only have 2.62 in the docker.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5125>
2023-08-01 02:30:14 +00:00
Nicolas Dufresne
c0dbc21fc5 ci: Run documentation build tags have changed
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5125>
2023-08-01 02:30:14 +00:00
Andoni Morales Alastruey
bfd4b20fe3 ci: disable introspection with msys2 builds
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1584>
2023-07-21 06:37:45 +00:00
Andoni Morales Alastruey
f03a43e814 gi: build introspection in the CI
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1584>
2023-07-21 06:37:45 +00:00
Nirbheek Chauhan
8277e0b30b ci: Bump windows job timeout to 90m from 45m
Sometimes the runners are slower, and 45m is too low:

https://gitlab.freedesktop.org/slomo/gstreamer/-/jobs/45761500

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5060>
2023-07-20 11:00:36 +00:00
Nirbheek Chauhan
585d719bd1 ci: Pick up the right branches when building a windows image
Now we will pick up the right gstreamer branch + namespace when
building an image, and also the right (matching, if any) cerbero
branch + namespace.

This solves the bootstrapping issue when doing an image update that
requires coordination between gstreamer and cerbero.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5043>
2023-07-17 05:52:24 +00:00
Nirbheek Chauhan
c686896438 ci: Force handle-subprojects-cache.py to print its output
Set python stdout to unbuffered when copying the subproject cache so
that we get updates while it is running, and not all at once when the
command ends.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5043>
2023-07-17 05:52:24 +00:00
Olivier Crête
48c43e5b7f gst-omx: Retire the whole package
The OpenMAX standard is long dead and even the Raspberry Pi OS
no longer supports it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4976>
2023-07-16 19:10:03 +00:00
Nirbheek Chauhan
62d3e8fc32 meson: Ensure that soup plugin is built on Windows
The libpsl subproject wasn't building successfully and CI didn't
notice because:

1. The plugin wasn't explicitly enabled
2. Even when the plugin is explicitly enabled, the dep is not required
   at build time when not building a static plugin

So fix all of these issues.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5038>
2023-07-15 05:06:35 +00:00
Nirbheek Chauhan
a9e725bc3b ci: Don't run integration testsuites and vs builds on vaapi changes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5026>
2023-07-13 20:54:49 +00:00
Nirbheek Chauhan
b45317e247 ci: Speed up configure on windows jobs
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018>
2023-07-12 21:17:26 +00:00
Nirbheek Chauhan
03011f5e5d ci: Renormalize only meson diff files, not all files
It takes a few minutes to run normalize on *all* files in the git
checkout, we only want it for diff_files which are in packagefiles

See: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1754
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018>
2023-07-12 21:17:25 +00:00
Nirbheek Chauhan
ae73284a2d ci: Re-enable MSYS2 job
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018>
2023-07-12 21:17:25 +00:00
Nirbheek Chauhan
1f5e92bc3c ci: Fix windows visual studio x86 job
meson setup --vsenv will actually always pick the host arch (64-bit),
not 32-bit, so we have to force it.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5018>
2023-07-12 21:17:25 +00:00
Jordan Petridis
a406b9e766 ci: Update ref for ci-templates include
This should help with the spurious CI failures when gitlab,
responds with a 500 temporarily.

https://gitlab.freedesktop.org/freedesktop/ci-templates/-/merge_requests/178

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4947>
2023-07-11 08:50:37 +00:00
Nirbheek Chauhan
c81040c901 ci: Eliminate newlines from variable values
The newlines existed because > preserves the trailing newline.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4939>
2023-07-07 09:46:19 +05:30
Nirbheek Chauhan
0b26ca0c6e ci: Update to VS 2022 Build Tools
We need the Windows 11 SDK for Windows Graphics Capture API support,
which will be enabled at runtime based on feature availability on
Windows, so should work correctly on Windows 8, 8.1, 10, and 11.

However, if we enable it in the VS 2019 installer, it will install
both Windows 10 SDK (required) and Windows 11 SDK (optional), which
will bloat the image by 3GB or more.

So just move to VS 2022 for the Windows images, which requires only
the Windows 11 SDK.

Had to remove the UWP build tools because they were causing the
installation to fail, likely due to an installer bug. We don't need
UWP anymore anyway. We just need the ARM64 build tools for the
cross-arm64 monorepo build.

Also stop installing into C:\BuildTools and let Meson pick the install
up with --vsenv.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4939>
2023-07-07 09:46:19 +05:30
Seungha Yang
8d578eeabc ci: Explicitly enable d3d11-wgc feature
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4939>
2023-07-06 21:20:51 +00:00
Andoni Morales Alastruey
ebe1f20589 windows: fix line endings for patch files
See: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1754
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3846>
2023-06-12 13:57:04 +00:00
Jordan Petridis
6c522e4982 ci: Schedule lint jobs in the placeholder runnners
These require almost no resources to be run and finish instantly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4710>
2023-05-31 17:04:12 +00:00
Jordan Petridis
f94d1c4e93 ci: Set XDG_RUNTIME_DIR before running tests
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4697>
2023-05-27 13:50:03 +00:00
Matthew Waters
b679469fac ci: disable libnice's gupnp support
There is a race somewhere in gupnp that is hard to track down and
requires very specific reproduction scenario.  Disable for now.

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1348
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4667>
2023-05-19 20:26:16 +00:00
Thibault Saunier
7aaf2b48ef doc: Avoid shelling out to hotdoc to generate plugins config files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4479>
2023-04-25 02:57:55 +00:00
Jordan Petridis
578680a530 ci: Move MESON_GST_WERROR string into a meson machine file
It's both easier to use that way and we can also reuse it when
building locally.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4281>
2023-04-24 12:37:07 +00:00
Jordan Petridis
68d042742a ci: Replace yaml anchor of simple build with a variable
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4281>
2023-04-24 12:37:07 +00:00
Jordan Petridis
20f9e67ac6 citemplate: port fedora build jobs to a parallel matrix
This is a new feature which makes it so we can generate
jobs based on the possible matrix of the environment variables
we pass into it.

In this commit we refactored the gstbuild template to a matrix of
Buildtype, debugbuild (and could have also set werror, but we
always have it on in fedora gstbuilds).

Then create 2 jobs, one for each compiler set. We could have
put them in the matrix, but CC and CXX are kinda coupled
and doesn't make sense to tests the matrix between them.

https://docs.gitlab.com/ce/ci/yaml/README.html#parallel-matrix-jobs

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4281>
2023-04-24 12:37:07 +00:00
Jordan Petridis
d6cd43a2ef citemplate: move debugbuild option to variable
Instead of appending it to the meson args string, have the
gstbuild template construct the meson args accordingly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4281>
2023-04-24 12:37:07 +00:00
Jordan Petridis
187420a21b citemplate: move the buildtype from the meson args to a variable
Instead of appending to the existing variable, have the gstbuild
template construct the meson args accordingly.

Also avoid using the buildtype to extend hackily jos to pass
extra args to them

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4281>
2023-04-24 12:37:07 +00:00
Jordan Petridis
50de7adf1a citemplate: replace werror var with a boolean
Instead of appending the string of the meson args we pass
to the gstbuild template, make a boolean variable and contruct
the meson args in the template accordingly.

This is prep in order to use the new matrix feature.

https://docs.gitlab.com/ce/ci/yaml/README.html#parallel-matrix-jobs

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4281>
2023-04-24 12:37:07 +00:00
Thibault Saunier
b14e675a27 gir: Checkout all .gir files and check that they are updated on the CI
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3010>
2023-04-22 09:32:32 -04:00
Jordan Petridis
b8018dca60 ci: Always run the windows build image job
Much like the linux counterparts, this either build the image
once the tags change or quickly exits if that has been done
already.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4471>
2023-04-22 00:06:16 +00:00
Xavier Claessens
06478b79b1 ci: trigger cerbero when MESON_COMMIT is set
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4325>
2023-04-05 20:30:43 +00:00