Newer
Older
stages:
- test
- build
variables:
CARGO_TARGET_DIR: "/ci-cache/${CI_PROJECT_NAME}/targets/${CI_COMMIT_REF_NAME}/${CI_JOB_NAME}"
CI_SERVER_NAME: "GitLab CI"
RUST_TOOLCHAIN: "stable"
- runner_system_failure
- unknown_failure
- api_failure
tags:
- linux-docker
#### 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