mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 11:31:06 +00:00
ci: Run coverage job on the stable image
This commit is contained in:
parent
680d4af732
commit
c82aefd2a4
2 changed files with 6 additions and 5 deletions
|
@ -440,7 +440,7 @@ coverage:
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
extends:
|
extends:
|
||||||
- '.cargo test'
|
- '.cargo test'
|
||||||
- .img-nightly
|
- .img-stable
|
||||||
stage: 'extras'
|
stage: 'extras'
|
||||||
variables:
|
variables:
|
||||||
ALL_FEATURES: 'yes'
|
ALL_FEATURES: 'yes'
|
||||||
|
|
|
@ -23,15 +23,16 @@ rustc --version
|
||||||
if [ "$RUST_IMAGE_FULL" = "1" ]; then
|
if [ "$RUST_IMAGE_FULL" = "1" ]; then
|
||||||
rustup component add clippy-preview
|
rustup component add clippy-preview
|
||||||
rustup component add rustfmt
|
rustup component add rustfmt
|
||||||
|
|
||||||
cargo install --force cargo-deny
|
cargo install --force cargo-deny
|
||||||
cargo install --force cargo-outdated
|
cargo install --force cargo-outdated
|
||||||
|
|
||||||
|
# Coverage tools
|
||||||
|
rustup component add llvm-tools-preview
|
||||||
|
cargo install --force grcov
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$RUST_VERSION" = "nightly" ]; then
|
if [ "$RUST_VERSION" = "nightly" ]; then
|
||||||
# Coverage tools
|
|
||||||
cargo install grcov
|
|
||||||
rustup component add llvm-tools-preview
|
|
||||||
|
|
||||||
# Documentation tools
|
# Documentation tools
|
||||||
cargo install --force rustdoc-stripper
|
cargo install --force rustdoc-stripper
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue