mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added before script submodule
Former-commit-id: b15b2da96fbc9f23cb2e38e21cd9f4966b154cbb
This commit is contained in:
parent
c527b6f7e2
commit
cfa99f2163
@ -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