Added rustup commands
This commit is contained in:
parent
db54e2d2ef
commit
fa2857c2ba
@ -1,5 +1,15 @@
|
||||
stable:cargo:
|
||||
image: rustdocker/rust:stable
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
|
||||
stable:cargo:build:
|
||||
stage: build
|
||||
script:
|
||||
- rustup toolchain install stable
|
||||
- rustup default stable
|
||||
- cargo build
|
||||
|
||||
stable:cargo:test:
|
||||
stage: test
|
||||
script:
|
||||
- cargo test --verbose --jobs 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user