mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-06-10 10:19:25 +00:00
Merge branch 'alatiera/clippy-json' into 'main'
WIP: ci: Create clippy codequality report Closes #508 See merge request gstreamer/gstreamer-rs!1415
This commit is contained in:
commit
4ba41f4f28
|
@ -348,6 +348,10 @@ clippy:
|
|||
artifacts: false
|
||||
script:
|
||||
- ./ci/run-clippy.sh
|
||||
artifacts:
|
||||
reports:
|
||||
codequality: gl-code-quality-report.json
|
||||
expire_in: 1 week
|
||||
|
||||
deny:
|
||||
extends: .img-stable
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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_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-outdated
|
||||
cargo install --locked --force typos-cli
|
||||
cargo install --locked --force gitlab_clippy
|
||||
|
||||
# Coverage tools
|
||||
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
|
||||
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 --message-format=json | gitlab-clippy > gl-code-quality-report.json
|
||||
|
|
Loading…
Reference in a new issue