Maxime “pep” Buquet
a55d420979
It's not possible to use them at the top of the workspace. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
51 lines
610 B
YAML
51 lines
610 B
YAML
stages:
|
|
- build
|
|
- test
|
|
|
|
variables:
|
|
FEATURES: ""
|
|
RUST_BACKTRACE: "full"
|
|
|
|
.stable:
|
|
image: rust:latest
|
|
cache:
|
|
key: stable
|
|
paths:
|
|
- target/
|
|
|
|
.nightly:
|
|
image: rustlang/rust:nightly
|
|
cache:
|
|
key: nightly
|
|
paths:
|
|
- target/
|
|
|
|
.build:
|
|
stage: build
|
|
script:
|
|
- cargo build --verbose
|
|
|
|
.test:
|
|
stage: test
|
|
script:
|
|
- cargo test --verbose
|
|
|
|
rust-latest-build:
|
|
extends:
|
|
- .build
|
|
- .stable
|
|
|
|
rust-nightly-build:
|
|
extends:
|
|
- .build
|
|
- .nightly
|
|
|
|
rust-latest-test:
|
|
extends:
|
|
- .test
|
|
- .stable
|
|
|
|
rust-nightly-test:
|
|
extends:
|
|
- .test
|
|
- .nightly
|