gitlabci: Always run clippy as part of the lint state now.
This commit is contained in:
parent
f324407c9c
commit
37c7f20256
@ -98,10 +98,15 @@ rustfmt:
|
|||||||
clippy:
|
clippy:
|
||||||
image: "rustlang/rust:nightly"
|
image: "rustlang/rust:nightly"
|
||||||
stage: lint
|
stage: lint
|
||||||
|
variables:
|
||||||
|
RUSTFLAGS: "--cfg rayon_unstable"
|
||||||
|
before_script:
|
||||||
|
- apt-get update -yqq
|
||||||
|
- apt-get install -yqq --no-install-recommends build-essential libgtk-3-dev meson
|
||||||
script:
|
script:
|
||||||
- rustc --version && cargo --version
|
- rustc --version && cargo --version
|
||||||
- cargo install clippy --force
|
- cargo install clippy --force
|
||||||
# Force regeneration of gresources regardless of artifacts chage
|
# Force regeneration of gresources regardless of artifacts chage
|
||||||
- cd hammond-gtk/resources/ && glib-compile-resources --generate resources.xml && cd ../../
|
- cd hammond-gtk/resources/ && glib-compile-resources --generate resources.xml && cd ../../
|
||||||
- cargo clippy --all
|
- cargo clippy --all
|
||||||
when: manual
|
allow_failure: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user