summaryrefslogtreecommitdiff
path: root/ci
Commit message (Collapse)AuthorAgeFilesLines
* ci: bump hotdoc dependencyMathieu Duponchelle2023-04-261-1/+1
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4488>
* windows/Dockerfile: Pin python to 3.11.2Jordan Petridis2023-04-261-1/+2
| | | | | | | | | | | | | | Version 3.11.3+ and 3.12 change the way subprocess with shell=True works to no longer use the PATH but instead rely on %ComSpec% or %SystemRoot% which are currently not present in the cerbero env. https://github.com/python/cpython/commit/51b079a2d6c9a7a852c04823ef4180c36eed682b Pin to 3.11.2 until we fix cerbero. https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/427 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4468>
* ci: Update to Rust 1.69Sebastian Dröge2023-04-262-2/+2
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4468>
* ci: Move MESON_GST_WERROR string into a meson machine fileJordan Petridis2023-04-241-0/+44
| | | | | | | 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>
* gir: Checkout all .gir files and check that they are updated on the CIThibault Saunier2023-04-222-20/+30
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3010>
* ci: bump hotdoc dependencyMathieu Duponchelle2023-04-131-3/+1
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4408>
* ci: fedora: Update cargo-c to 0.9.17Sebastian Dröge2023-04-051-1/+1
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4331>
* ci: Add rust in the windows base imageJordan Petridis2023-04-032-0/+21
| | | | | | This is preperation for gstreamer/gstreamer!3889 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4327>
* ci: Update Rust in the fedora imageJordan Petridis2023-04-031-3/+3
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4327>
* ci: Propagate MESON_COMMIT to cerbero pipelineXavier Claessens2023-03-311-8/+17
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4305>
* ci: update indent image to GNU indent 2.2.12Tim-Philipp Müller2023-03-171-2/+3
| | | | | | | | ... and dotnet-sdk to 7.0. Fixes #340 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4182>
* ci: add wixtoolset to windows imageStéphane Cerveau2023-03-141-0/+1
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4157>
* ci: prepare_cerbero_env: Use predictable git clone pathJordan Petridis2023-02-241-2/+2
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4063>
* ci: Add a job to verify commit messages on MRsThibault Saunier2023-02-241-0/+4
| | | | | | | | | This uses [gitlint] and is based on their linting rules with some minor config so it matches our style pretty well. [gitlint]: https://jorisroovers.com/gitlint/#configuration Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3980>
* ci/windows: Remove cargo-vendor sources from the cerbero source cacheNirbheek Chauhan2023-01-261-1/+3
| | | | | | | | | | | | | | | Copying the source cache to a running Cerbero CI job on Windows causes strange / corrupted errors that talk about hard links like: ++ cp -a C:/cerbero/cerbero-sources . cp: will not create hard link `./cerbero-sources/gstreamer-1.0/subprojects/gst-plugins-good/sys/osxaudio' to directory `./cerbero-sources/cargo-c-0.9.12/cargo-vendor/adler/benches' [...] So, delete it. The vendored sources are cached by cargo in its own cache inside CARGO_HOME, which is build/rust/cargo/ and is preserved in the image. We won't need to redownload any of this. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3805>
* ci/README: basic instructions for running locallyMathieu Duponchelle2023-01-091-0/+33
| | | | | | | | These should be extended upon by someone more knowledgeable with the topic, but that's the basic information I would want to find there in order to start debugging CI issues locally. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3681>
* ci: pin hotdoc to 0.13.7 for now, 0.14 has a regressionNirbheek Chauhan2022-12-101-1/+3
| | | | | | | | | | | | | | | ``` ERROR: [links]: (mandatory-link-not-found): Mandatory link Link GstGLSinkBin -> None (GstGLSinkBin) could not be resolved ERROR: [links]: (mandatory-link-not-found): Mandatory link Link GstRTPMux -> None (GstRTPMux) could not be resolved ERROR: [links]: (mandatory-link-not-found): Mandatory link Link GstSRTSink -> None (GstSRTSink) could not be resolved ERROR: [links]: (mandatory-link-not-found): Mandatory link Link GstSRTSrc -> None (GstSRTSrc) could not be resolved ``` Same change was already made in the 1.20 branch: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1582#note_1669723 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3527>
* Install meson from git when MESON_COMMIT variable is setXavier Claessens2022-11-241-0/+9
| | | | | | | | | When starting manually a CI pipeline with MESON_COMMIT variable defined, install the specified version of Meson. This can be used to help the Meson project smoke testing RC releases or investigate eventual regressions. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3036>
* ci: Fix traceback when user doesn't have a cerbero forkNirbheek Chauhan2022-10-261-0/+1
| | | | | | | | | | | ``` Traceback (most recent call last): File "ci/gitlab/trigger_cerbero_pipeline.py", line 59, in <module> if cerbero is None: NameError: name 'cerbero' is not defined ``` Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3063>
* ci: Fetch all user cerbero branches when matching branch namesNirbheek Chauhan2022-10-251-10/+12
| | | | | | | | | | | Fixes CI on coordinated merges when the user has more than 20 branches in their fork, which will happen very easily since new forks will always have all the branches of the original remote. ``` ci/gitlab/trigger_cerbero_pipeline.py:48: UserWarning: Calling a `list()` method without specifying `get_all=True` or `iterator=True` will return a maximum of 20 items. Your query returned 20 of 37 items. See https://python-gitlab.readthedocs.io/en/v3.9.0/api-usage.html#pagination for more details. If this was done intentionally, then this warning can be supressed by adding the argument `get_all=False` to the `list()` call. (python-gitlab: /usr/local/lib/python3.7/site-packages/gitlab/client.py:979) if os.environ["CI_COMMIT_REF_NAME"] in [b.name for b in cerbero.branches.list()]: ```
* ci: Bump meson to 0.62.2 in Fedora docker imagesNirbheek Chauhan2022-09-221-1/+1
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3061>
* ci: Bootstrap with visualstudio variant enabledNirbheek Chauhan2022-09-171-1/+1
| | | | | | | | visualstudio variant now pulls in more build-tools deps on top of mingw since it enables the rust variant by default. It's also the variant that's tested on Cerbero CI. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2507>
* Build documentation for rust pluginsThibault Saunier2022-09-151-5/+11
| | | | | | | | | | | | | | - Update the docker image we use, starting using the standard one adding `gtk4-doc` as required by rust plugins - Update the plugins_doc_caches as required, some more plugins are built with the new image - Install ninja from pip as the version from F31 is too old - Avoid buildings all GSreamer plugins when building the doc as it takes time and resources for no good reason - Stop linking to `GInstanceInitFunc` as it is not present in latest GLib documentation, leading to warnings in hotdoc. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2954>
* docker/windows: Pass a couple installargs to python3Jordan Petridis2022-08-261-1/+1
| | | | | | | From these, only PrependPath isn't enabled by default, but its nice to explicitly enable the ones we need anyway. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2933>
* windows/Dockerfile: replace ADD arguments with Invoke-WebRequestJordan Petridis2022-07-291-4/+3
| | | | | | | Have the windows susbsystem handle the networking layer and avoid layer invalidation until the strings/urls are changed. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2812>
* ci: Update the windows imageJordan Petridis2022-07-291-1/+1
| | | | | | Mainly to get newer meson Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2812>
* ci: Fix project URL when triggering cerbero pipelinesNirbheek Chauhan2022-07-161-7/+20
| | | | | | | | | | | | | | When merge request pipelines are triggered on the gstreamer namespace, CI_PROJECT_URL will be gitlab.[...]/gstreamer/gstreamer but we need to use gitlab.[...]/$USER/gstreamer because that's where the source branch is located. This exhibits as cerbero pipelines failing because it can't find the specified branch: https://gitlab.freedesktop.org/gstreamer/cerbero/-/pipelines/639379 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2761>
* ci: Make sure to always update subprojectsXavier Claessens2022-05-271-0/+2
| | | | | | | The command was not run in Windows jobs, better keep subprojects handling in a single script. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2509>
* ci: use the correct vs toolcahin version for cerberoJordan Petridis2022-05-181-1/+1
| | | | | | | This seems to be a leftover from when we upgraded from vs15 to vs16. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2395>
* ci: use LONGPATH for the windows containerJordan Petridis2022-05-181-0/+5
| | | | | | | | | | | | | | Sometimes the CI might create paths that are bigger than the 260 character limit. ex: ``` error: unable to create file subprojects/gst-integration-testsuites/testsuites/validate/h264/parse.trickmode_predicted.seek_trickmode_predicted/flow-expectations/log-parse-src-expected: Filename too long ``` https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2395>
* ci: remove windows-rust jobsJordan Petridis2022-05-183-91/+0
| | | | | | | | These are moved now into gstreamer-rs repository. https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/701 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2395>
* ci: Install Media Foundations on the windows containerJordan Petridis2022-05-181-3/+5
| | | | | | | | | | | | | In order to do this, we need to switch to the Server container image, instead of the ServerCore we were using till now. This image also only has Server2022 base variants. This is a continuation of: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1783 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2395>
* ci: remove unused filesJordan Petridis2022-05-142-362/+0
| | | | | | | These are leftovers of the gst-ci repo, before the mono repo merge and can be removed now. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2403>
* ci: fix the windows-rust image buildsJordan Petridis2022-05-051-16/+5
| | | | | | | | There was a rule gated on the project name which wasn't removed once we moved to the monorepo and this job was silently broken since. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2302>
* ci: Trigger cerbero on user project if a branch with the same name exists thereThibault Saunier2022-04-211-5/+24
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2264>
* build/fuzzing: integrate fuzz targets into the build systemMatthew Waters2022-04-076-193/+138
| | | | | | | | | | Currently disabled but may be enabled later. Updates the existing fuzzing to use shared libraries as that's easier for meson to deal with if there is a mix of static and shared libraries on the system. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2123>
* gstreamer-sharp: ensure a consitent code formatAndoni Morales Alastruey2022-04-051-0/+15
| | | | | | | Use EditorConfig and dotnet-format to ensure a consistent code style. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/983>
* ci/fuzzing: update glib version to 2.72.0Matthew Waters2022-03-181-3/+2
| | | | | | | Fixes an issue where on configure, glib's internal gnulib was tripping up the undefined behaviour sanitizer with a divide by 0. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1976>
* ci/fuzzling: fix oss-fuzz buildMatthew Waters2022-03-181-1/+0
| | | | | | gst-plugins-base doesn't have a cairo option anymore. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1975>
* Bump Meson requirement to >=0.60.0Xavier Claessens2022-03-142-2/+2
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1934>
* ci: remove jenkins files which are no longer usedTim-Philipp Müller2022-02-225-256/+0
| | | | | | Fixes #1031 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1763>
* ci: Trigger all jobs on gitlab CI script changesNirbheek Chauhan2022-02-051-2/+2
| | | | | | | Also fix typo in trigger variable that was causing triggered cerbero pipelines to run deps builds and upload cache. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1641>
* ci: Add a variable to identify triggered cerbero pipelinesNirbheek Chauhan2022-02-041-0/+4
| | | | | | | This commit is required for proper functioning of the following cerbero merge request: https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/800 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1638>
* ci: Add a Windows native cross-arm64 job with a new imageNirbheek Chauhan2022-01-284-6/+77
| | | | | | | | | | | | | Needed an update to the windows Dockerfile to: 1. Install the 'UniversalBuildTools' workload for Cerbero 2. Install ARM and ARM64 workloads for cross-uwp-universal in Cerbero 3. Install VS 2019 since we need that for ARM64 NEON support in Opus We can't test UWP in gstreamer.git because glib needs custom patches for that. It will be tested in Cerbero. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1570>
* ci: Remove windows-sdk-8.1 from docker imageNirbheek Chauhan2022-01-281-1/+0
| | | | | | | We don't need this, we use the Windows 10 SDK provided by Visual Studio Build Tools. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1570>
* ci: replace license noticeJordan Petridis2022-01-031-2/+17
| | | | | | | | | | | This file was copied from microsoft documentation [1] and its header was refering to the license on that repo. This change was lost during gstreamer/gstreamer!1000 [1] https://github.com/MicrosoftDocs/visualstudio-docs/blob/9ec230dfd4908a92738d8dac5f44ad3e4ac751e3/LICENSE-CODE Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1487>
* ci: fedora-docker: Cache media filesNicolas Dufresne2021-12-062-5/+28
| | | | | | | | | | As of now all integration tests endup fetching 600MB of media every run. This will increase the docker side, but this is to the traceof that the docker image will quickly be cached on all runners. Fixes #841 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1413>
* ci/fuzzing: update for mono repoMatthew Waters2021-10-261-8/+30
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1253>
* ci: fix plugins cache diffs directoryMathieu Duponchelle2021-10-181-1/+1
| | | | Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/867>
* meson: add 'gpl' option and only build plugins with (A)GPL deps if ↵Tim-Philipp Müller2021-10-181-2/+3
| | | | | | | | | | explicitly enabled Require explicit opt-in to build plugins with (A)GPL dependencies. Keep ugly/bad options on 'auto' for now so cerbero doesn't fail. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1084>