Skip to content
Snippets Groups Projects
Commit 41c90cd8 authored by Denis_P's avatar Denis_P :field_hockey: Committed by Wei Tang
Browse files

show rust version (#138)

parent 535a3431
Branches
No related merge requests found
Pipeline #38798 passed with stages
in 8 minutes and 20 seconds
......@@ -9,21 +9,23 @@ variables:
GIT_SUBMODULE_STRATEGY: recursive
CARGO_HOME: "/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_JOB_NAME}"
SCCACHE_DIR: "/ci-cache/${CI_PROJECT_NAME}/sccache"
SCCACHE_CACHE_SIZE: 50G
CI_SERVER_NAME: "GitLab CI"
RUST_TOOLCHAIN: "stable"
before_script:
- sccache -s
- ./scripts/init.sh
- ./scripts/build.sh
.compiler_info: &compiler_info
before_script:
- rustup show
- cargo --version
- sccache -s
#### stage: test
test-rust-stable:
stage: test
<<: *compiler_info
script:
- ./scripts/init.sh
- ./scripts/build.sh
- time cargo test --all --release --locked
- sccache -s
only:
......@@ -41,7 +43,10 @@ test-rust-stable:
build-linux:
stage: build
<<: *compiler_info
script:
- ./scripts/init.sh
- ./scripts/build.sh
- time cargo build --release
- sccache -s
tags:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment