conduwuit/.gitlab-ci.yml
2021-05-05 17:26:59 +00:00

16 lines
427 B
YAML

image: "rust:latest"
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- apt-get update -yqq
- apt-get install -yqq --no-install-recommends build-essential libssl-dev pkg-config
test:cargo:
script:
- rustc --version && cargo --version # Print version info for debugging
- cargo test --workspace --verbose --locked
- cargo fmt --all -- --check
- rustup component add clippy && cargo clippy