ci: Run sys tests with --all-features and only build --all-features

They're fully additive so there's no point in building with default
features too.

For the non-sys bindings we might want to consider building with default
features though.
This commit is contained in:
Sebastian Dröge 2020-11-01 10:09:42 +02:00
parent a3395062f1
commit bdcb133fc2

View file

@ -265,7 +265,6 @@ test nightly all-features:
- | - |
for crate in gstreamer*/sys; do for crate in gstreamer*/sys; do
if [ -e $crate/Cargo.toml ]; then if [ -e $crate/Cargo.toml ]; then
cargo build --locked --color=always --manifest-path $crate/Cargo.toml
cargo build --locked --color=always --manifest-path $crate/Cargo.toml --all-features cargo build --locked --color=always --manifest-path $crate/Cargo.toml --all-features
fi fi
done done
@ -290,7 +289,7 @@ test nightly all-features:
gstreamer-video/sys \ gstreamer-video/sys \
gstreamer-webrtc/sys; \ gstreamer-webrtc/sys; \
do \ do \
cargo test --locked --color=always --manifest-path $crate/Cargo.toml; \ cargo test --locked --color=always --manifest-path $crate/Cargo.toml --all-features; \
done done
test stable sys: test stable sys: