mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
ci: coverage: don't build examples and tutorials
We just want to build and run the tests to generate the coverage reports. Workaround for https://github.com/rust-lang/rust/issues/84421
This commit is contained in:
parent
9d3888d294
commit
c22a863a57
1 changed files with 3 additions and 3 deletions
|
@ -221,10 +221,8 @@ plugins-update-nightly:
|
|||
fi
|
||||
done
|
||||
|
||||
# If we do a build with all features then also build the
|
||||
# tutorials/examples with all features
|
||||
- |
|
||||
if [ -n "$ALL_FEATURES" ]; then
|
||||
if [ -n "$EXAMPLES_TUTORIALS" ]; then
|
||||
cargo build --locked --color=always --manifest-path examples/Cargo.toml --bins --examples --all-features
|
||||
cargo build --locked --color=always --manifest-path tutorials/Cargo.toml --bins --examples --all-features
|
||||
fi
|
||||
|
@ -247,6 +245,7 @@ test stable:
|
|||
test stable all-features:
|
||||
variables:
|
||||
ALL_FEATURES: 'yes'
|
||||
EXAMPLES_TUTORIALS: 'yes'
|
||||
extends:
|
||||
- '.cargo test'
|
||||
- .img-stable
|
||||
|
@ -261,6 +260,7 @@ test nightly all-features:
|
|||
allow_failure: true
|
||||
variables:
|
||||
ALL_FEATURES: 'yes'
|
||||
EXAMPLES_TUTORIALS: 'yes'
|
||||
extends:
|
||||
- '.cargo test'
|
||||
- .img-nightly
|
||||
|
|
Loading…
Reference in a new issue