Limit runner resource to 3 core cpu
All checks were successful
diya-opi-distrib / build (push) Successful in 7h47m12s
All checks were successful
diya-opi-distrib / build (push) Successful in 7h47m12s
This commit is contained in:
parent
19f47e18a3
commit
4ea8bc9865
@ -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: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user