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