commit: b36c7b99ae57e8d848373f44755510308c4eefa3
parent 4d320736815152abc9b9bd0318edd02d2a045b74
Author: QMK Bot <hello@qmk.fm>
Date: Thu, 30 May 2024 00:44:13 +0000
Merge remote-tracking branch 'origin/master' into develop
Diffstat:
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