aboutsummaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-04-06 08:40:24 +0800
committerfanquake <fanquake@gmail.com>2021-04-06 08:40:24 +0800
commitde3ae78eff257302dd45e57e38067f72e970a123 (patch)
treeabece0840bc074b69747302548a55f3f90a15709 /.cirrus.yml
parent511e58223b15cb330659bf78596767929579e966 (diff)
downloadbitcoin-de3ae78eff257302dd45e57e38067f72e970a123.tar.xz
ci: increase CPU count of sanitizer job to increase memory limit
According to the docs, https://cirrus-ci.org/guide/linux/#linux-containers, "For each CPU you can't get more than 4G of memory.", thus if we want this job to have 24GB of memory, we need to increase the CPU count to 6.
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index d7d5ab6c5c..8b88262e51 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -113,7 +113,7 @@ task:
<< : *GLOBAL_TASK_TEMPLATE
container:
image: ubuntu:focal
- cpu: 4 # Double CPU and increase Memory to avoid timeout
+ cpu: 6 # Increase CPU and Memory to avoid timeout
memory: 24G
env:
MAKEJOBS: "-j8"