You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
605 B
YAML

image: bitsmart/rust:1.32
stages:
- lint
- build
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: build
cache:
key: artifacts
paths:
- target
- Cargo.lock
policy: pull
script:
- cargo test --features backend_piston,backend_gilrs