mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-05-29 05:38:16 +00:00
parent
04c840a1d9
commit
c7828dc80b
|
@ -348,6 +348,10 @@ clippy:
|
||||||
artifacts: false
|
artifacts: false
|
||||||
script:
|
script:
|
||||||
- ./ci/run-clippy.sh
|
- ./ci/run-clippy.sh
|
||||||
|
artifacts:
|
||||||
|
reports:
|
||||||
|
codequality: gl-code-quality-report.json
|
||||||
|
expire_in: 1 week
|
||||||
|
|
||||||
deny:
|
deny:
|
||||||
extends: .img-stable
|
extends: .img-stable
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
variables:
|
variables:
|
||||||
GST_RS_IMG_TAG: "2024-03-21.0"
|
GST_RS_IMG_TAG: "2024-03-27.0"
|
||||||
GST_RS_STABLE: "1.77.0"
|
GST_RS_STABLE: "1.77.0"
|
||||||
GST_RS_MSRV: "1.70.0"
|
GST_RS_MSRV: "1.70.0"
|
||||||
|
|
|
@ -29,6 +29,7 @@ if [ "$RUST_IMAGE_FULL" = "1" ]; then
|
||||||
cargo install --locked --force cargo-deny
|
cargo install --locked --force cargo-deny
|
||||||
cargo install --locked --force cargo-outdated
|
cargo install --locked --force cargo-outdated
|
||||||
cargo install --locked --force typos-cli
|
cargo install --locked --force typos-cli
|
||||||
|
cargo install --locked --force gitlab_clippy
|
||||||
|
|
||||||
# Coverage tools
|
# Coverage tools
|
||||||
rustup component add llvm-tools-preview
|
rustup component add llvm-tools-preview
|
||||||
|
|
|
@ -39,3 +39,5 @@ EXAMPLES_FEATURES="--features=rtsp-server,rtsp-server-record,pango-cairo,overlay
|
||||||
# And also run over all the examples/tutorials
|
# And also run over all the examples/tutorials
|
||||||
cargo clippy --locked --color=always --manifest-path examples/Cargo.toml --all-targets "$EXAMPLES_FEATURES" -- $CLIPPY_LINTS
|
cargo clippy --locked --color=always --manifest-path examples/Cargo.toml --all-targets "$EXAMPLES_FEATURES" -- $CLIPPY_LINTS
|
||||||
cargo clippy --locked --color=always --manifest-path tutorials/Cargo.toml --all-targets --all-features -- $CLIPPY_LINTS
|
cargo clippy --locked --color=always --manifest-path tutorials/Cargo.toml --all-targets --all-features -- $CLIPPY_LINTS
|
||||||
|
|
||||||
|
cargo clippy --locked --message-format=json | gitlab-clippy > gl-code-quality-report.json
|
||||||
|
|
Loading…
Reference in a new issue