image: bitsmart/rust:1.32 stages: - lint - build - test lint: stage: lint cache: key: artifacts paths: - target - Cargo.lock policy: push script: - cargo clippy --features backend_piston,backend_gilrs build: stage: build cache: key: artifacts paths: - target - Cargo.lock policy: pull script: - cargo build --verbose --features backend_piston,backend_gilrs test: stage: test cache: key: artifacts paths: - target - Cargo.lock policy: pull script: - cargo test --features backend_piston,backend_gilrs