From 4ea8bc9865aca5a66e97c22e5138e26df412e50b Mon Sep 17 00:00:00 2001 From: dany Date: Fri, 28 Mar 2025 01:01:47 +0100 Subject: [PATCH] Limit runner resource to 3 core cpu --- .gitea/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 0fb73e3..6d5b4b5 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: container: volumes: - /home/yocto-build:/build - # options: --cpus 2.5 + options: --cpus 3 timeout-minutes: 720 steps: - name: Check out repository code @@ -24,8 +24,8 @@ jobs: echo "CACHE = \"/build/diya-opi-distrib-cache\"" >> build/conf/local.conf echo "BB_CACHEDIR = \"/build/diya-opi-distrib-cache\"" >> build/conf/local.conf echo "PERSISTENT_DIR = \"/build/diya-opi-distrib-cache\"" >> build/conf/local.conf - # echo "BB_NUMBER_THREADS = \"2\"" >> build/conf/local.conf - # echo "PARALLEL_MAKE = \"-j 2\"" >> build/conf/local.conf + echo "BB_NUMBER_THREADS = \"3\"" >> build/conf/local.conf + echo "PARALLEL_MAKE = \"-j 3\"" >> build/conf/local.conf cat build/conf/*.conf - name: build booloader for Orpi run: |