ci: Run build with v1_18 feature

This commit is contained in:
Sebastian Dröge 2020-05-02 23:26:08 +03:00
parent 90a4918f92
commit 61c80ada48

View file

@ -198,11 +198,11 @@ plugins-update-nightly:
for crate in gstreamer*; do for crate in gstreamer*; do
if [ -n "$ALL_FEATURES" ]; then if [ -n "$ALL_FEATURES" ]; then
if [ $crate = "gstreamer" ]; then if [ $crate = "gstreamer" ]; then
FEATURES=ser_de,v1_16 FEATURES=ser_de,v1_18
elif [ $crate = "gstreamer-gl" ]; then elif [ $crate = "gstreamer-gl" ]; then
FEATURES=egl,x11,wayland,v1_16 FEATURES=egl,x11,wayland,v1_18
else else
FEATURES=v1_16 FEATURES=v1_18
fi fi
cargo build --color=always --manifest-path $crate/Cargo.toml --features=$FEATURES cargo build --color=always --manifest-path $crate/Cargo.toml --features=$FEATURES
@ -268,11 +268,11 @@ clippy:
- | - |
for crate in gstreamer*; do for crate in gstreamer*; do
if [ $crate = "gstreamer" ]; then if [ $crate = "gstreamer" ]; then
FEATURES=ser_de,v1_16 FEATURES=ser_de,v1_18
elif [ $crate = "gstreamer-gl" ]; then elif [ $crate = "gstreamer-gl" ]; then
FEATURES=egl,x11,wayland,v1_16 FEATURES=egl,x11,wayland,v1_18
else else
FEATURES=v1_16 FEATURES=v1_18
fi fi
cargo clippy --color=always --manifest-path $crate/Cargo.toml --features=$FEATURES --all-targets -- -A clippy::redundant_pattern_matching -A clippy::single_match -A clippy::cast_lossless -A clippy::missing_safety_doc -D warnings cargo clippy --color=always --manifest-path $crate/Cargo.toml --features=$FEATURES --all-targets -- -A clippy::redundant_pattern_matching -A clippy::single_match -A clippy::cast_lossless -A clippy::missing_safety_doc -D warnings