mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 17:41:05 +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
|
fi
|
||||||
done
|
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 examples/Cargo.toml --bins --examples --all-features
|
||||||
cargo build --locked --color=always --manifest-path tutorials/Cargo.toml --bins --examples --all-features
|
cargo build --locked --color=always --manifest-path tutorials/Cargo.toml --bins --examples --all-features
|
||||||
fi
|
fi
|
||||||
|
@ -247,6 +245,7 @@ test stable:
|
||||||
test stable all-features:
|
test stable all-features:
|
||||||
variables:
|
variables:
|
||||||
ALL_FEATURES: 'yes'
|
ALL_FEATURES: 'yes'
|
||||||
|
EXAMPLES_TUTORIALS: 'yes'
|
||||||
extends:
|
extends:
|
||||||
- '.cargo test'
|
- '.cargo test'
|
||||||
- .img-stable
|
- .img-stable
|
||||||
|
@ -261,6 +260,7 @@ test nightly all-features:
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
variables:
|
variables:
|
||||||
ALL_FEATURES: 'yes'
|
ALL_FEATURES: 'yes'
|
||||||
|
EXAMPLES_TUTORIALS: 'yes'
|
||||||
extends:
|
extends:
|
||||||
- '.cargo test'
|
- '.cargo test'
|
||||||
- .img-nightly
|
- .img-nightly
|
||||||
|
|
Loading…
Reference in a new issue