mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added submodule properly
Former-commit-id: 7773a1ec2d670043cc26c6b154d2b848c15ebc2b
This commit is contained in:
parent
91223ef41a
commit
efe365c990
@ -11,12 +11,13 @@ stages:
|
|||||||
rust-nightly:
|
rust-nightly:
|
||||||
stage: build
|
stage: build
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
script:
|
script:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install curl git gcc -y
|
- apt-get install curl gcc -y
|
||||||
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
|
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
|
||||||
- source /root/.cargo/env
|
- source /root/.cargo/env
|
||||||
- git submodule update --init --recursive
|
|
||||||
- cargo build
|
- cargo build
|
||||||
- cargo test --verbose
|
- cargo test --verbose
|
||||||
allow_failure: false
|
allow_failure: false
|
||||||
|
Loading…
Reference in New Issue
Block a user