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