Limit runner resource to 3 core cpu
All checks were successful
diya-opi-distrib / build (push) Successful in 7h47m12s

This commit is contained in:
dany 2025-03-28 01:01:47 +01:00
parent 19f47e18a3
commit 4ea8bc9865

View File

@ -8,7 +8,7 @@ jobs:
container: container:
volumes: volumes:
- /home/yocto-build:/build - /home/yocto-build:/build
# options: --cpus 2.5 options: --cpus 3
timeout-minutes: 720 timeout-minutes: 720
steps: steps:
- name: Check out repository code - name: Check out repository code
@ -24,8 +24,8 @@ jobs:
echo "CACHE = \"/build/diya-opi-distrib-cache\"" >> build/conf/local.conf echo "CACHE = \"/build/diya-opi-distrib-cache\"" >> build/conf/local.conf
echo "BB_CACHEDIR = \"/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 "PERSISTENT_DIR = \"/build/diya-opi-distrib-cache\"" >> build/conf/local.conf
# echo "BB_NUMBER_THREADS = \"2\"" >> build/conf/local.conf echo "BB_NUMBER_THREADS = \"3\"" >> build/conf/local.conf
# echo "PARALLEL_MAKE = \"-j 2\"" >> build/conf/local.conf echo "PARALLEL_MAKE = \"-j 3\"" >> build/conf/local.conf
cat build/conf/*.conf cat build/conf/*.conf
- name: build booloader for Orpi - name: build booloader for Orpi
run: | run: |