mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added before script submodule
Former-commit-id: fa51f02b4ff4d1e5f671363fc3978065fe8c9970
This commit is contained in:
parent
efe365c990
commit
66a6db7add
@ -12,10 +12,13 @@ rust-nightly:
|
||||
stage: build
|
||||
image: ubuntu:latest
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
script:
|
||||
GIT_SUBMODULE_STRATEGY: none
|
||||
before-script:
|
||||
- apt-get update
|
||||
- apt-get install curl gcc -y
|
||||
- apt-get install curl gcc git -y
|
||||
- git submodule sync --recursive
|
||||
- git submodule update --remote --recursive
|
||||
script:
|
||||
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
|
||||
- source /root/.cargo/env
|
||||
- cargo build
|
||||
|
Loading…
Reference in New Issue
Block a user