2022-02-26 15:54:20 +00:00
|
|
|
build, test and lint:
|
2022-02-18 13:46:01 +00:00
|
|
|
image: "rust:1-bullseye"
|
2022-02-26 15:54:20 +00:00
|
|
|
interruptible: true
|
2022-02-18 13:46:01 +00:00
|
|
|
script:
|
|
|
|
- apt update -qy
|
2022-02-26 15:54:20 +00:00
|
|
|
- apt install -qy build-essential pkg-config clang libclang-dev nettle-dev gettext zsh
|
2022-02-18 13:46:01 +00:00
|
|
|
- rustup component add clippy
|
2022-02-26 15:54:20 +00:00
|
|
|
- rustup component add rustfmt
|
2019-11-18 10:26:41 +00:00
|
|
|
- ./make-translated-templates
|
2022-02-26 15:54:20 +00:00
|
|
|
- cargo build
|
|
|
|
- cargo clippy --no-deps
|
|
|
|
- cargo fmt --all -- --check
|
|
|
|
- cargo test --all
|