diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 81a96793d3..fd440126ff 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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