commit 395766657ff98a4b1fd0dcba5917557f8acbb9e4 parent 2f9f000d0cb8474e44983838e904f88f58431f5e Author: Nick Brassel <nick@tzarc.org> Date: Thu, 30 May 2024 10:43:45 +1000 Decrease CPU count by one to try and stop GHA from killing runners. (#23826) Diffstat:
| M | .github/workflows/ci_build_major_branch_keymap.yml | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/ci_build_major_branch_keymap.yml b/.github/workflows/ci_build_major_branch_keymap.yml @@ -108,7 +108,7 @@ jobs: - name: Build targets continue-on-error: true run: | - export NCPUS=$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null) + export NCPUS=$(( $(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null) -1 )) qmk mass-compile -t -j $NCPUS -e DUMP_CI_METADATA=yes $(jq -r '.["${{ matrix.target }}"].targets' targets.json) || touch .failed - name: Upload binaries