Newer
Older
image: parity/rust-builder:latest
CARGO_HOME: "/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_JOB_NAME}"
SCCACHE_DIR: "/ci-cache/${CI_PROJECT_NAME}/sccache"
CI_SERVER_NAME: "GitLab CI"
RUST_TOOLCHAIN: "stable"
.compiler_info: &compiler_info
before_script:
- rustup show
- cargo --version
- sccache -s
#### stage: test
test-rust-stable:
stage: test
- time cargo test --all --release --locked
- cd substrate && time cargo test --all --release --locked
only:
- triggers
- tags
- master
- schedules
- web
#### stage: build
build-linux:
stage: build
only:
- master
- tags
- web