gitlabci: Use prebuilt clippy image
Since clippy won't fail to install now that it's bundled in the container image also do not allow the to fail
This commit is contained in:
parent
f9b34bbd50
commit
e40f880b9e
@ -96,17 +96,13 @@ rustfmt:
|
|||||||
# Configure and run clippy on nightly
|
# Configure and run clippy on nightly
|
||||||
# Only fails on errors atm.
|
# Only fails on errors atm.
|
||||||
clippy:
|
clippy:
|
||||||
image: "rustlang/rust:nightly"
|
image: "registry.gitlab.gnome.org/alatiera/hammond-container-images/clippy:nightly"
|
||||||
stage: lint
|
stage: lint
|
||||||
variables:
|
variables:
|
||||||
RUSTFLAGS: "--cfg rayon_unstable"
|
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 clippy --version
|
||||||
# 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
|
||||||
allow_failure: true
|
|
||||||
Loading…
Reference in New Issue
Block a user