Skip to content
Snippets Groups Projects
Commit 2fe995dd authored by Volkor Barbarian Warrior's avatar Volkor Barbarian Warrior
Browse files

Update .gitlab-ci.yml file

parent 98c411cf
No related branches found
No related tags found
No related merge requests found
Pipeline #37 failed
stages:
- lint
- build
- test
variables:
CARGO_HOME: $CI_PROJECT_DIR/cargo
RUST_BACKTRACE: FULL
# Faster caching :)
FF_USE_FASTZIP: "true"
CACHE_COMPRESSION_LEVEL: "fastest"
# Linting
cargo-fmt:
stage: lint
image: rust:latest
script:
- rustup component add rustfmt
- cargo fmt -- --check
clippy:
stage: lint
image: rust:latest
script:
- rustup component add clippy
- cargo clippy -- -D warnings # Turn all warnings into errors
# Building
rust-stable:
stage: build
image: rust:stable
script:
- rustc --version && cargo --version
- cargo build --verbose
# Testing
test:
stage: test
image: rust:stable
script:
- rustc --version && cargo --version
- cargo test --verbose
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment