From bdcb133fc203ae113d033b483346d1487518b80d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 1 Nov 2020 10:09:42 +0200 Subject: [PATCH] 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. --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ada8e9e7f..e4bdeb07a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -265,7 +265,6 @@ test nightly all-features: - | for crate in gstreamer*/sys; do 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 fi done @@ -290,7 +289,7 @@ test nightly all-features: gstreamer-video/sys \ gstreamer-webrtc/sys; \ do \ - cargo test --locked --color=always --manifest-path $crate/Cargo.toml; \ + cargo test --locked --color=always --manifest-path $crate/Cargo.toml --all-features; \ done test stable sys: