mirror of
https://gitlab.com/keys.openpgp.org/hagrid.git
synced 2025-10-06 00:23:08 +02:00
test
This commit is contained in:
@@ -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
|
|
||||||
|
Reference in New Issue
Block a user