From 5eb9243fb0f0f65b87130e79ee619d3b9e80f100 Mon Sep 17 00:00:00 2001 From: John Doe Date: Mon, 12 Feb 2024 14:22:24 +0800 Subject: [PATCH] fix --- .github/workflows/lo-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lo-test.yml b/.github/workflows/lo-test.yml index eaa05ba..e2029bd 100644 --- a/.github/workflows/lo-test.yml +++ b/.github/workflows/lo-test.yml @@ -119,6 +119,7 @@ jobs: ulimit -SHn 65000 cd ~/lede while true; do make download -j && break || true; done + [ `nproc` -gt 8 ] && con=$[`nproc`/2+3] || con=`nproc` if [ -d build_dir ]; then make -j$con IGNORE_ERRORS=1 tools/compile toolchain/compile buildinfo target/compile package/compile package/install target/install if [ ! -e ~/lede/bin/targets/*/*/*imagebuilder*xz ]; then