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