From f3924138fcb85ad01fef6ebd0db3d8df5ee026bd Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Wed, 24 Apr 2019 15:05:48 +0200 Subject: [PATCH] ci: run make in paralel; use git depth --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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