mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-09-21 16:58:39 +00:00
chore: fix clippy pipeline
This commit is contained in:
parent
ca0be6a41d
commit
33d906f50d
1 changed files with 5 additions and 2 deletions
|
@ -18,16 +18,19 @@ cargo:fmtcheck:
|
||||||
- cargo fmt --all -- --check
|
- cargo fmt --all -- --check
|
||||||
|
|
||||||
cargo:clippy:
|
cargo:clippy:
|
||||||
image: "rust:slim"
|
|
||||||
stage: check
|
stage: check
|
||||||
variables:
|
variables:
|
||||||
RUSTFLAGS: "-Dwarnings"
|
RUSTFLAGS: "-Dwarnings"
|
||||||
script:
|
script:
|
||||||
- cp src/constants.rs.in src/constants.rs
|
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install libgtk-4-dev libadwaita-1-dev libssl-dev libjxl-dev libvte-2.91-gtk4-dev meson ninja-build git desktop-file-utils gettext file libusb-dev libusb-1.0-0-dev curl -y
|
- apt-get install libgtk-4-dev libadwaita-1-dev libssl-dev libjxl-dev libvte-2.91-gtk4-dev meson ninja-build git desktop-file-utils gettext file libusb-dev libusb-1.0-0-dev curl -y
|
||||||
|
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/rustup.sh
|
||||||
|
- chmod +x /tmp/rustup.sh
|
||||||
|
- /tmp/rustup.sh -y
|
||||||
|
- source "$HOME/.cargo/env"
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
- rustc -Vv && cargo -Vv
|
- rustc -Vv && cargo -Vv
|
||||||
|
- cp src/constants.rs.in src/constants.rs
|
||||||
- cargo clippy --version
|
- cargo clippy --version
|
||||||
- cargo clippy --all-targets --all-features
|
- cargo clippy --all-targets --all-features
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue