mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Basic Rust env
Former-commit-id: 250a426c09589640ce255e5369038624ca037bb6
This commit is contained in:
parent
db27d42e64
commit
1e6cb8f6ee
@ -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