summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2023-02-17 10:51:03 +0100
committerErik Faye-Lund <erik.faye-lund@collabora.com>2023-02-20 07:21:15 +0000
commitea54665956e62b8df21cce5a8f9f5ba9a2e53a6d (patch)
tree4b6c6a2a311b697028e89ce00b7b0d4ae32bbc96
parent3a9d085315d530d6d9da0887279057077bf65714 (diff)
downloadmesa-demos-ea54665956e62b8df21cce5a8f9f5ba9a2e53a6d.tar.gz
ci: forward concurrent-flag from ci-templates
This speeds up the builds by quite a big factor, because 4 is way less than what the builders provides. It brings the build time for me from around 1.5 minutes to about 20 seconds per job. Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com>
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2d7db42e..88f8ca36 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -90,7 +90,7 @@ x86_build:
--prefix $PWD/install
--buildtype debug
${EXTRA_OPTION}
- - ninja -C _build -j4
+ - ninja -C _build -j${FDO_CI_CONCURRENT:-4}
- ninja -C _build install
build: