[gnome-build-meta/tristan/set-max-jobs: 1/2] .gitlab-ci.yml: Set `--max-jobs` on the command line.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/tristan/set-max-jobs: 1/2] .gitlab-ci.yml: Set `--max-jobs` on the command line.
- Date: Wed, 17 Jul 2019 13:30:23 +0000 (UTC)
commit 1a88e8057566aff1420e8a9ba236827ae1da272d
Author: Tristan Van Berkom <tristan vanberkom codethink co uk>
Date: Wed Jul 17 22:19:29 2019 +0900
.gitlab-ci.yml: Set `--max-jobs` on the command line.
Use a larger number of cores when running on workers with many cores.
This fixes #165
.gitlab-ci.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1e5a0004..5e2c5c9e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,8 +5,8 @@ variables:
GET_SOURCES_ATTEMPTS: 3
BST_STRICT: '--no-strict'
BST_TRACK_TAGS: 'False'
- BST: "bst $BST_STRICT --config build.conf --log-file logs/build.log --colors"
- BST_SHA: '1.2.7-0-g08d1694545d1d62295c7beba1fea65a21b93a723'
+ BST: "bst $BST_STRICT --config build.conf --log-file logs/build.log --colors --max-jobs $(( $(nproc) / 4
))"
+ BST_SHA: '1.3.1-0-gb7a6624fbfbd82d2daa42f5a5570cbb4fbc729d2'
BST_EXTERNAL_SHA: '0.14.0-0-g003f1f1e7ead60627ef4242a6d785704ede44358'
FLATPAK_BRANCH: master
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]