mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Basic Rust env
Former-commit-id: 563aa620deb71fce91de02c91595044da108ff90
This commit is contained in:
parent
5e063e27e6
commit
7840519ba9
@ -10,9 +10,12 @@ stages:
|
||||
|
||||
rust-nightly:
|
||||
stage: build
|
||||
image: rustlang/rust:nightly
|
||||
image: ubuntu:latest
|
||||
script:
|
||||
- cargo build --verbose
|
||||
- apt-get update
|
||||
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
|
||||
- source /root/.cargo/bin:$PATH
|
||||
- cargo build
|
||||
- cargo test --verbose
|
||||
allow_failure: false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user