Commit graph

127 commits

Author SHA1 Message Date
Sebastian Dröge
77c6741ae0 Update to futures 0.3 and require Rust 1.39
Also use async/await in the futures examples.
2019-11-11 12:18:49 +01:00
Jordan Petridis
d584c3ba23
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:42 +03:00
Guillaume Desmottes
69ed7cd630 ci: run cargo-audit
Can be used to detect vulnerabilities in deps, see
https://blog.rust-lang.org/inside-rust/2019/10/03/Keeping-secure-with-cargo-audit-0.9.html

Added libssl-dev as it's a build dep of one of audit's crate.
2019-10-10 10:34:07 +02:00
Sebastian Dröge
06a9f891bd Update GStreamer to 1.16.1 and explicitly use Debian buster docker images 2019-10-05 00:35:21 +03:00
Sebastian Dröge
0cfe6c58a6 Minor cleanup to gitlab-ci.yml
Don't special-case the features of gstreamer-base and gstreamer-video
anymore, they have the same as most other crates now.
2019-09-17 11:05:57 +03:00
Sebastian Dröge
52509b4b95 Remove subclassing feature and make it the default 2019-09-09 11:51:07 +03:00
Sebastian Dröge
ea367bac14 Fix or ignore various clippy warnings
And ignore some common warnings we don't care about in general, while
also making clippy errors fail the build.
2019-09-07 19:39:19 +03:00
Sebastian Dröge
cd4ae139d0 Explicitly enable the features we want to test on the CI 2019-08-13 18:30:40 +03:00
Sebastian Dröge
3ea9a435e2 Update minimum supported Rust version to 1.36 2019-07-10 11:21:53 +03:00
Sebastian Dröge
27f0d86068 Run stable clippy in gitlab CI again and also build all features on stable
Now that futures are stable in 1.36 we can do that again.
2019-07-04 17:28:15 +03:00
Guillaume Desmottes
e9fbbc2b40 ci: bump minimum Rust version to 1.34
Needed for TryFrom.
2019-06-01 11:57:15 +05:30
Sebastian Dröge
059860c744 Allow clippy job to fail in the CI for now 2019-05-24 10:04:16 +00:00
Jordan Petridis
3bf853e42f CI: only build with all-features on nightly
glib has a futures feature that only works on nighty
and there is no easy to exclude a feature without specifying
every other feature.
2019-05-03 22:35:30 +03:00
Jordan Petridis
bc355ea3ee CI: refactor to use 'extends' instead of anchors 2019-05-03 22:35:30 +03:00
Sebastian Dröge
8aad3e4dbb Update CI configuration for 1.16 2019-04-23 20:45:39 +03:00
Jordan Petridis
4ce27c130b
CI: Add a clippy job
Uses stable clippy for the time being

Otherwise we'll get warnings about lint names being deprecated without
being able to fix it while still being able to compile on stable.

This will solve itself once the new lint names move to stable and we can
switch to them.
2019-03-12 11:36:24 +02:00
Jordan Petridis
9d5347d7b5
CI: abstract the setup needed compile the crates 2019-03-12 11:36:24 +02:00
Sebastian Dröge
a99652f236 Enable 1.31 test job now that 1.32 is released
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/issues/167
2019-01-18 08:14:36 +00:00
Sebastian Dröge
bfcdec782e Switch to stable rustfmt and add skip annotations for the generated code to the lib.rs 2019-01-16 17:10:01 +02:00
Sebastian Dröge
e804ef4d76 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 12:45:57 +02:00
Sebastian Dröge
a99f71bb65 Switch from rustfmt-preview to rustfmt component in CI
We still have to stay at the nightly version of rustfmt as the `ignore`
option is not stable yet.
2018-12-17 22:38:31 +00:00
Sebastian Dröge
6ae9cf2690 Run gitlab-ci also with Rust 1.28 2018-11-04 18:44:08 +02:00
Thibault Saunier
c687f38b50 ci: Lint before running test
No reason to run tests if linting didn't pass
2018-11-04 11:35:54 -03:00
Jordan Petridis
a585519db4 CI: Add a rustfmt check 2018-10-08 17:02:57 +03:00
Jordan Petridis
4127425f6b CI: Cache the cargo registry 2018-10-08 17:02:57 +03:00
Jordan Petridis
3acdf7b996 CI: add color to the cargo output 2018-10-08 17:02:57 +03:00
Jordan Petridis
7856442176 CI: Add initial gitlab-ci config
Duplicates the functionality of the travis config
2018-10-08 17:02:57 +03:00