blob: a3169df8de56b1d186cd9f6cf3cd18a5d1d1ff64 (
plain) (
tree)
|
|
stages:
- build
variables:
RUSTFLAGS: "-D warnings"
CARGO_HOME: cache
cache:
paths:
- cache/
- target/
rust-latest:
stage: build
image: rust:latest
script:
- cargo build --locked
- cargo test --locked
rust-nightly:
stage: build
image: rustlang/rust:nightly
script:
- cargo build --locked
- cargo test --locked
allow_failure: true
|