Added rustup commands

This commit is contained in:
Steins7 2021-02-05 14:45:18 +01:00
parent db54e2d2ef
commit fa2857c2ba

View File

@ -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