mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-11-22 00:50:59 +00:00
ci: create rustfmt-clippy
To save precious time, run clippy and fmt in the same run.
This commit is contained in:
parent
ec20b318d1
commit
2a1a43ea2f
1 changed files with 3 additions and 11 deletions
|
@ -47,7 +47,7 @@ build-fedora-container:
|
||||||
FDO_DISTRIBUTION_EXEC: >-
|
FDO_DISTRIBUTION_EXEC: >-
|
||||||
pip3 install meson
|
pip3 install meson
|
||||||
|
|
||||||
rustfmt:
|
rustfmt-clippy:
|
||||||
extends:
|
extends:
|
||||||
- .fedora
|
- .fedora
|
||||||
- .fdo.distribution-image@fedora
|
- .fdo.distribution-image@fedora
|
||||||
|
@ -56,6 +56,8 @@ rustfmt:
|
||||||
- meson build
|
- meson build
|
||||||
- cargo fmt --version
|
- cargo fmt --version
|
||||||
- cargo fmt -- --color=always --check
|
- cargo fmt -- --color=always --check
|
||||||
|
- cargo clippy --version
|
||||||
|
- cargo clippy --color=always --all-targets -- -D warnings
|
||||||
|
|
||||||
test-stable:
|
test-stable:
|
||||||
extends:
|
extends:
|
||||||
|
@ -82,16 +84,6 @@ rustdoc:
|
||||||
- rustdoc --version
|
- rustdoc --version
|
||||||
- cargo doc --no-deps
|
- cargo doc --no-deps
|
||||||
|
|
||||||
clippy:
|
|
||||||
extends:
|
|
||||||
- .fedora
|
|
||||||
- .fdo.distribution-image@fedora
|
|
||||||
stage: extras
|
|
||||||
script:
|
|
||||||
- meson build
|
|
||||||
- cargo clippy --version
|
|
||||||
- cargo clippy --color=always --all-targets -- -D warnings
|
|
||||||
|
|
||||||
flatpak:
|
flatpak:
|
||||||
image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:41"
|
image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:41"
|
||||||
stage: test
|
stage: test
|
||||||
|
|
Loading…
Reference in a new issue