diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bc758ebdc5..83719a924b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,16 @@ variables: + # Init submodules. + # See https://docs.gitlab.com/ee/ci/yaml/#git-submodule-strategy GIT_SUBMODULE_STRATEGY: "recursive" + # Use shallow cloning to speed up git clone. This can fail, if retrying an older build on CI + # and the old commit is not in the shallow history any more. + # See https://docs.gitlab.com/ee/ci/yaml/#shallow-cloning + GIT_DEPTH: "50" + + # run make paralel + MAKEFLAGS: "-j10" + stages: - environment - build