From 38a6d2da67ec39b34e3fa8828c9847d9b7e98e76 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 25 Sep 2021 21:55:39 +0300 Subject: [PATCH] Give GCC more memory. --- .cirrus.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index cd0dfd5eb..87544e156 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -24,7 +24,6 @@ linux_task_template: &LINUX_TASK_TEMPLATE PACKAGE_MANAGER_INSTALL: "apt-get -qq update && apt-get install -y" container: cpu: 4 - memory: 8G install_script: - bash -c "$PACKAGE_MANAGER_INSTALL qtbase5-dev libqt5svg5-dev qttools5-dev-tools libqt5xmlpatterns5-dev libqt5core5a libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 xpdf xvfb ccache" build_script: @@ -102,6 +101,7 @@ task: name: 'latest GCC' container: image: gcc:latest + memory: 16G # Set to 16GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-container << : *LINUX_TASK_TEMPLATE env: COMPILER: g++ @@ -111,6 +111,7 @@ task: name: 'latest Clang' container: image: silkeh/clang:latest + memory: 8G # Set to 8GB to avoid OOM. https://cirrus-ci.org/guide/linux/#linux-container << : *LINUX_TASK_TEMPLATE env: COMPILER: clang