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.
This commit is contained in:
fanquake
2021-04-06 08:40:24 +08:00
parent 511e58223b
commit de3ae78eff

View File

@ -113,7 +113,7 @@ task:
<< : *GLOBAL_TASK_TEMPLATE << : *GLOBAL_TASK_TEMPLATE
container: container:
image: ubuntu:focal image: ubuntu:focal
cpu: 4 # Double CPU and increase Memory to avoid timeout cpu: 6 # Increase CPU and Memory to avoid timeout
memory: 24G memory: 24G
env: env:
MAKEJOBS: "-j8" MAKEJOBS: "-j8"