|
|
@ -7,15 +7,30 @@ stages:
|
|
|
|
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint:
|
|
|
|
stage: lint
|
|
|
|
stage: lint
|
|
|
|
|
|
|
|
cache:
|
|
|
|
|
|
|
|
key: artifacts
|
|
|
|
|
|
|
|
paths:
|
|
|
|
|
|
|
|
- target
|
|
|
|
|
|
|
|
policy: push
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- cargo clippy --features backend_piston,backend_gilrs
|
|
|
|
- cargo clippy --features backend_piston,backend_gilrs
|
|
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
stage: build
|
|
|
|
|
|
|
|
cache:
|
|
|
|
|
|
|
|
key: artifacts
|
|
|
|
|
|
|
|
paths:
|
|
|
|
|
|
|
|
- target
|
|
|
|
|
|
|
|
policy: pull
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- cargo build --verbose --features backend_piston,backend_gilrs
|
|
|
|
- cargo build --verbose --features backend_piston,backend_gilrs
|
|
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
test:
|
|
|
|
stage: test
|
|
|
|
stage: test
|
|
|
|
|
|
|
|
cache:
|
|
|
|
|
|
|
|
key: artifacts
|
|
|
|
|
|
|
|
paths:
|
|
|
|
|
|
|
|
- target
|
|
|
|
|
|
|
|
policy: pull
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- cargo test --features backend_piston,backend_gilrs
|
|
|
|
- cargo test --features backend_piston,backend_gilrs
|
|
|
|