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 committed Mar 18, 2023
1 parent e437560 commit f8e89a1
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 f8e89a1

Please sign in to comment.