Jordan Petridis
643544876b
ci: avoid trying to cache cargo registry
...
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-30 10:03:10 +03:00
Sebastian Dröge
8c1906eb6c
ci: Update minimum supported version to 1.41
2020-09-09 09:36:03 +03:00
Jordan Petridis
0f89576235
ci: ensure the registry cache and lockfile are up-to-date
...
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-08-26 13:52:04 +03:00
Guillaume Desmottes
61f76548bc
ci: check commit using ci-fairy
...
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-06-15 10:25:09 +02:00
Jordan Petridis
896bda12f9
ci: always run the clippy and rustfmt jobs
...
Unless they are explicitly marked, they won't
run on detached pipelines by default
2020-04-30 19:21:42 +03:00
Jordan Petridis
3d2792a1c3
ci: replace only clause with rules
...
only/except is deprecated and going to be removed
from future versions of gitlab.
2020-04-30 19:14:04 +03:00
Guillaume Desmottes
ee71a4ab8a
ci: update ci template
...
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-28 16:11:18 +02:00
Guillaume Desmottes
9efe4168b7
ci: install dav1d when generating image
...
Save us from using the static version when building the crate.
2020-04-28 14:21:01 +02:00
Guillaume Desmottes
3d1df3ca25
ci: switch from cargo-audit to cargo-deny
...
Fix #110
2020-04-28 10:39:50 +02:00
Guillaume Desmottes
f34673b704
ci: add update jobs
...
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-27 12:19:17 +02:00
Guillaume Desmottes
54586c6ecc
ci: use fdo template
...
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-27 12:19:08 +02:00
Guillaume Desmottes
15d863a26c
ci: make clippy warnings fatal
2020-04-21 11:52:21 +02:00
Guillaume Desmottes
575d3534b1
ci: force git-fetch-with-cli
...
Workaround so fdo redirects actually work.
2020-04-21 11:52:21 +02:00
Guillaume Desmottes
660e325bbc
ci: allow outdated job to fail
...
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-14 10:49:14 +02:00
Guillaume Desmottes
281aad2243
ci: run 'cargo outdated' in scheduled jobs
...
Automatically detect if a crate we are directly using is outdated.
2020-04-10 12:18:42 +02:00
Natanael Mojica
cf59318ab4
Add csound-based filter plugin
2020-03-22 13:44:40 +02:00
Sebastian Dröge
cd2957679d
Don't include gst-ci template
...
It disables all our other tests apparently.
2020-03-19 11:43:13 +02:00
Sebastian Dröge
d58cdc41b7
Require Rust 1.40 for the CI
...
At least one dependency of one plugin uses 1.40 features now.
2020-02-25 10:10:13 +02:00
Guillaume Desmottes
e73e27cda4
ci: include gst-ci
...
- 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.
2020-01-03 14:35:49 +05:30
Philippe Normand
9d659fbd00
ci: Add dav1d build support
2019-12-24 15:10:58 +01:00
Sebastian Dröge
bc94cc999e
Run clippy on --all-targets
2019-12-22 10:20:18 +02:00
François Laignel
0221524a10
Update to tokio release 0.2.5 + throttling
2019-12-21 08:56:43 +01:00
François Laignel
8eec141517
threadsharing: migrate to async/await and tokio 0.2.0-alpha.6
...
See https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/merge_requests/164
2019-12-19 20:44:00 +01:00
Sebastian Dröge
b89a0d18dc
Require Rust 1.39 on the CI and fix the build after gstreamer-rs changes
2019-11-11 13:29:41 +01:00
Jordan Petridis
dd5b24fcc9
CI: force install cargo audit
...
We are caching $CARGO_HOME in between runs, so an arbitrary
cargo audit binary might already exist in the environment.
Force install it so cargo doesn't complain and our binary
is guaranteed "fresh".
2019-10-21 14:20:22 +03:00
Guillaume Desmottes
82841555f2
ci: run 'cargo audit' in scheduled jobs
2019-10-10 14:40:09 +02:00
Sebastian Dröge
69aefb15f7
Update GStreamer to 1.16.1 and explicitly use Debian buster docker images
2019-10-05 00:36:13 +03:00
Sebastian Dröge
83cc8104a1
Fix or silence all remaining clippy warnings
...
Also ignore common errors we don't care about when running clippy and
make clippy errors fail the CI.
2019-09-07 10:42:07 +03:00
Sebastian Dröge
70385a4833
Update minimum supported Rust version to 1.36
2019-07-10 11:24:07 +03:00
Sebastian Dröge
63a840e0e7
Bring gitlab CI in sync with gstreamer-rs and add clippy task
...
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/issues/58
2019-07-04 18:21:29 +03:00
Sebastian Dröge
a11550a59d
CI: Update minimum supported Rust version to 1.34
...
To be in sync with gstreamer-rs.
2019-06-03 13:04:50 +03:00
Jordan Petridis
8c03237949
Add libsodium-based encrypter/decrypter elements
...
With some changes by Sebastian Dröge <sebastian@centricular.com>
2019-05-09 12:29:39 +03:00
Sebastian Dröge
8b49953a7a
Update CI for 1.16
2019-04-24 12:07:08 +03:00
Jordan Petridis
34c7a541f6
CI: build and test with all-features and examples
2019-04-22 10:58:02 +03:00
Sebastian Dröge
8c671ed7dc
Enable 1.31 test job now that 1.32 is released
2019-01-18 08:14:38 +00:00
Sebastian Dröge
5b0d79bc73
Switch to Rust 1.31 as minimum supported version
...
Too many dependencies switched and we can't really keep everything at an
older version.
Commented out for now until stable becomes 1.32.
2018-12-19 13:21:48 +02:00
François Laignel
4812884453
CI: fix fmt
2018-12-09 16:03:27 +01:00
Sebastian Dröge
46f80da72e
First run lints, then tests
2018-11-04 18:52:31 +02:00
Sebastian Dröge
87f94ddcc8
Run gitlab-ci also with Rust 1.28
2018-11-04 18:52:25 +02:00
Jordan Petridis
252b8498ff
CI: Add gitlab-ci config.
...
Similar to how ti was done for gstreamer-rs.
See [1] for more.
[1] https://github.com/sdroege/gstreamer-rs/pull/132
2018-10-15 16:26:28 +03:00