Merge #21609: ci: increase CPU count of sanitizer job to increase memory limit

de3ae78eff257302dd45e57e38067f72e970a123 ci: increase CPU count of sanitizer job to increase memory limit (fanquake)

Pull request description:

  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.

  It's currently [failing with](https://github.com/bitcoin/bitcoin/runs/2273962280):
  >  Requested memory is too high! You can request at most 4G per CPU

Top commit has no ACKs.

Tree-SHA512: 0a4da5649d061425190a373859274c78ca5587cd2d6e27905ec548f124ed114a0133215cb2eff22ffc182f50c3a53df58e7c9832b44db6e37d7ea59ec96a4775
This commit is contained in:
MarcoFalke 2021-04-06 07:57:26 +02:00 committed by Konstantin Akimov
parent ad947099a0
commit a224b800e4
No known key found for this signature in database
GPG Key ID: 2176C4A5D01EA524

View File

@ -102,7 +102,7 @@ task:
<< : *GLOBAL_TASK_TEMPLATE << : *GLOBAL_TASK_TEMPLATE
container: container:
image: ubuntu:lunar image: ubuntu:lunar
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"