Skip to content

Commit

Permalink
De-parallelise CI (qmk#20171)
Browse files Browse the repository at this point in the history
* De-parallelise CI

No speed increase.

* Update .github/workflows/ci_builds.yml
  • Loading branch information
tzarc authored and rodrigob committed Mar 21, 2023
1 parent 076a921 commit 6baaf1c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
strategy:
matrix:
keymap: [default, via]
keyboard_folder: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z]

container: qmkfm/qmk_cli

Expand All @@ -35,13 +34,13 @@ jobs:
- name: Install dependencies
run: pip3 install -r requirements.txt

- name: Run `qmk mass-compile` (keyboards ${{ matrix.keyboard_folder }}*, keymap ${{ matrix.keymap }})
run: qmk mass-compile -j $(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null) -km ${{ matrix.keymap }} -f 'keyboard_folder=${{ matrix.keyboard_folder }}*'
- name: Run `qmk mass-compile` (keymap ${{ matrix.keymap }})
run: qmk mass-compile -j $(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null) -km ${{ matrix.keymap }}

- name: 'Upload binaries'
uses: actions/upload-artifact@v3
with:
name: binaries-${{ matrix.keyboard_folder }}-${{ matrix.keymap }}
name: binaries-${{ matrix.keymap }}
if-no-files-found: ignore
path: |
*.bin
Expand Down

0 comments on commit 6baaf1c

Please sign in to comment.