This commit is contained in:
Vincent Breitmoser
2025-03-10 10:56:46 +01:00
parent 893442bc4e
commit 65a6902c77

View File

@@ -1,13 +1,11 @@
build, test and lint:
image: "rust:1.86-bookworm"
image: "nixos/nix:2.3.16"
interruptible: true
script:
- apt update -qy
- apt install -qy build-essential pkg-config clang libclang-dev libssl-dev gettext zsh
- rustup component add clippy
- rustup component add rustfmt
- ./make-translated-templates
- cargo build
- cargo clippy --tests --no-deps --workspace
- cargo fmt --all -- --check
- cargo test --workspace
- nix-shell --command true
- nix-shell --command ./make-translated-templates
- nix-shell --command cargo build
- nix-shell --command cargo clippy --tests --no-deps --workspace
- nix-shell --command cargo fmt --all -- --check
- nix-shell --command cargo test --all
- nix-shell --command cargo test --workspace