From de3ae78eff257302dd45e57e38067f72e970a123 Mon Sep 17 00:00:00 2001 From: fanquake Date: Tue, 6 Apr 2021 08:40:24 +0800 Subject: 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. --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.cirrus.yml') 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" -- cgit v1.2.3