diff options
author | Nick Brassel <[email protected]> | 2024-05-30 10:43:45 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-30 10:43:45 +1000 |
commit | 395766657ff98a4b1fd0dcba5917557f8acbb9e4 (patch) | |
tree | 91119a50cb385b4d3029fbf177666faf3fc255fd | |
parent | 2f9f000d0cb8474e44983838e904f88f58431f5e (diff) | |
download | qmk_firmware-395766657ff98a4b1fd0dcba5917557f8acbb9e4.tar.gz qmk_firmware-395766657ff98a4b1fd0dcba5917557f8acbb9e4.zip |
Decrease CPU count by one to try and stop GHA from killing runners. (#23826)
-rw-r--r-- | .github/workflows/ci_build_major_branch_keymap.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci_build_major_branch_keymap.yml b/.github/workflows/ci_build_major_branch_keymap.yml index c38d0458d7..0804c9e2d0 100644 --- 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 |