Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-16Change default branch from master to mainSebastian Dröge
2022-01-14Ignore `clippy::non_send_fields_in_send_ty` lintSebastian Dröge
It's useless in its current shape and wrongly triggering on all types. See https://github.com/rust-lang/rust-clippy/issues/8045
2022-01-12ci: stop installing gtk4 manuallyJordan Petridis
It's now included in the base image we use. https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/942
2021-12-20ci: Remove the gstreamer directory if it exists already for the gst-build jobSebastian Dröge
Otherwise it will regularly fail because the runner already has the directory available for some reason.
2021-11-02ci: add gst-build job schedule jobGuillaume Desmottes
2021-10-31Update to Rust edition 2021 and minimum supported Rust version to 1.56Sebastian Dröge
2021-10-23ci: Install cargo-c 0.9.4 until our minimum supported Rust version is 1.56Sebastian Dröge
2021-10-13Add a GTK4 paintable sink pluginBilal Elmoussaoui
Co-authored-by: Sebastian Dröge <sebastian@centricular.com> Co-authored-by: Jordan Petridis <jordan@centricular.com>
2021-09-10ci: Update to dav1d 0.9.2Sebastian Dröge
2021-09-09ci: avoid spawning 2 pipelines for each commitJordan Petridis
When an MR is open, you can have both a normal and a "detached" pipeline. They have different properties, but a detached pipeline is enough for us and identical to the normal one, so we can avoid the extra load on the CI. https://docs.gitlab.com/ee/ci/jobs/job_control.html#avoid-duplicate-pipelines https://docs.gitlab.com/ee/ci/yaml/index.html#switch-between-branch-pipelines-and-merge-request-pipelines
2021-09-08Clean up clippy warnings and CI configurationSebastian Dröge
Put clippy overrides into the sources files instead of the CI configuration, and fix various warnings / clean up code.
2021-08-17ci: update base image to debian 11Jordan Petridis
Like it was done for the bindings [1] Also update the ci-template sha [1] https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/836
2021-06-20ci: Update image versionSebastian Dröge
2021-06-05Allow clippy::blocks-in-if-conditionsFrançois Laignel
It rejects code such as: ```rust if state .start_ts .zip(accumulate_time) .map_or(false, |(start_ts, accumulate_time)| { start_ts + accumulate_time < pts }) ``` because it looks like: ```rust if { true } ```
2021-05-26meson: fix csound detectionGuillaume Desmottes
csound-sys can detect the system lib using either pkg-config or using the CSOUND_LIB_DIR env variable. The former case just work but the second is trickier as we need to ensure that CSOUND_LIB_DIR is defined when building. So we no longer try to detect the lib using find_library() if user didn't define the env variable as the build will fail later. Also explicitly pass the env variable to cargo so user can now call 'CSOUND_LIB_DIR=/usr/lib64 meson build && ninja -C build' and have it work without repassing the env variable to ninja.
2021-04-23ci: coverage: generate cobertura report with grcovGuillaume Desmottes
It's supported with the latest version. Also ignore build.rs when generating reports. The new gitlab summary parsing regexp is now: <abbr .*>(\d+.\d+) %<\/abbr>
2021-04-22ci: Allow the coverage job to failSebastian Dröge
It's using the nightly compiler and can easily break every now and then, like it does now with https://github.com/rust-lang/rust/issues/84421 .
2021-04-16ci: add coverage jobGuillaume Desmottes
Uses the new llvm source-base coverage from nightly to generate coverage reports: - full html report as artifact - cobertura report for gitlab MR integration - output coverage summary for gitlab parsing Here is the regexp to set in gitlab as "Test coverage parsing": \s*lines\.*:\s*([\d\.]+%) Resources: - https://github.com/marco-c/rust-code-coverage-sample - https://github.com/mozilla/grcov/issues/468#issuecomment-691615245 - https://www.greycastle.se/how-to-show-flutter-test-coverage-in-gitlab-ci/
2021-03-25ci: Allow clippy::upper_case_acronymsSebastian Dröge
That would otherwise change a lot of API in confusing ways, e.g. RTSP -> Rtsp and would be inconsistent with the naming in C.
2021-03-25ci: Update to dav1d 0.8.2Sebastian Dröge
2021-01-04ci: install cargo-c to proper locationGuillaume Desmottes
Need to define CARGO_HOME so it's installed to the same places as the rest of the Rust tools.
2021-01-04ci: test linking on all static pluginsGuillaume Desmottes
Will ensure that our static libraries and pkg-config files are properly generated.
2021-01-04ci: install cargo-cGuillaume Desmottes
2021-01-02CI: Remove unnecessary lint-ignore for clippy::cast_losslessMarijn Suijten
2021-01-02Fix clippy::redundant_pattern_matchingMarijn Suijten
2020-12-31ci: Add some more ignored lints to the clippy configurationSebastian Dröge
2020-11-19ci: check if all plugins are installed with mesonGuillaume Desmottes
Will prevent us to forget adding new plugins to meson.
2020-11-19ci: test building with mesonGuillaume Desmottes
2020-11-05ci: move vars to the jobsJordan Petridis
The gitlab parser will only expand the variables once, which make it impossible to abstract over the rust version in a nice way. A hacky workaround is to duplicate some things and get rid of the RUST_VERSION var to avoid the issue. https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/618#note_679774
2020-11-05ci: Take stable and minimum supported Rust version (MSRV) from template ↵Sebastian Dröge
variables And don't make the actual version numbers part of the jobs.
2020-11-01ci: Use 1.46.0 for stableSebastian Dröge
2020-09-30ci: avoid trying to cache cargo registryJordan Petridis
There have been some very weird issues, where cargo keeps fetching older commits of glib-rs and breaking the build like so [1] Might be stale cache, or some http/git mirroring shenanigans, so lets stop trying to use the cache for now and check if the issue persists. [1]: https://gitlab.freedesktop.org/slomo/gst-plugins-rs/-/jobs/4715922
2020-09-09ci: Update minimum supported version to 1.41Sebastian Dröge
2020-08-26ci: ensure the registry cache and lockfile are up-to-dateJordan Petridis
We are caching the CARGO_HOME which includes git repos of the gtk-rs bindings. Since we don't specify a branch so it uses the default branch for the ref. cargo build usually does an update if it has network access, but its not guaranteed or the case for other tools like clippy which may still point to the stale git snapshot like here: https://gitlab.freedesktop.org/thaytan/gstreamer-rs/-/jobs/4165449
2020-06-15ci: check commit using ci-fairyGuillaume Desmottes
See https://freedesktop.pages.freedesktop.org/ci-templates/ci-fairy.html#checking-commits In this setup it will check for any leftover fixup!/squash! commits and that messages don't have the 'Signed-off-by:' tag.
2020-04-30ci: always run the clippy and rustfmt jobsJordan Petridis
Unless they are explicitly marked, they won't run on detached pipelines by default
2020-04-30ci: replace only clause with rulesJordan Petridis
only/except is deprecated and going to be removed from future versions of gitlab.
2020-04-28ci: update ci templateGuillaume Desmottes
Prevent creating a second useless layer, see https://gitlab.freedesktop.org/freedesktop/ci-templates/-/merge_requests/26 Update image tag to ensure building images is still working.
2020-04-28ci: install dav1d when generating imageGuillaume Desmottes
Save us from using the static version when building the crate.
2020-04-28ci: switch from cargo-audit to cargo-denyGuillaume Desmottes
Fix #110
2020-04-27ci: add update jobsGuillaume Desmottes
Those jobs are triggered by gstreamer-rs when their images are updated so we can rebuild ours. Also disable normal building jobs and unrelated tests when updating a specific image as they are not needed. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/321>
2020-04-27ci: use fdo templateGuillaume Desmottes
Build our own images based on the ones used by gstreamer-rs ci. Fix #109 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/321>
2020-04-21ci: make clippy warnings fatalGuillaume Desmottes
2020-04-21ci: force git-fetch-with-cliGuillaume Desmottes
Workaround so fdo redirects actually work.
2020-04-14ci: allow outdated job to failGuillaume Desmottes
We'd like to be able to ignore some outdated deps which is not yet possible: https://github.com/kbknapp/cargo-outdated/issues/127
2020-04-10ci: run 'cargo outdated' in scheduled jobsGuillaume Desmottes
Automatically detect if a crate we are directly using is outdated.
2020-03-22Add csound-based filter pluginNatanael Mojica
2020-03-19Don't include gst-ci templateSebastian Dröge
It disables all our other tests apparently.
2020-02-25Require Rust 1.40 for the CISebastian Dröge
At least one dependency of one plugin uses 1.40 features now.
2020-01-03ci: include gst-ciGuillaume Desmottes
- Use gst-ci's stages instead of our own - Override GIT_STRATEGY for Rust only builds as gst-ci relies on gst-build subprojects by default. First step merging our Rust CI with gst-ci. Once this is merged we'll enable Rust in gst-ci builds and so will guard gst-plugins-rs MR against breaking gst-build.