From 5652952f89bf411fd70498e353e995309f667a9e Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 18 Mar 2023 22:31:47 +1100 Subject: [PATCH 1/2] De-parallelise CI No speed increase. --- .github/workflows/ci_builds.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_builds.yml b/.github/workflows/ci_builds.yml index e2bbd9349763..39164b8e6b76 100644 --- a/.github/workflows/ci_builds.yml +++ b/.github/workflows/ci_builds.yml @@ -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 @@ -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.keyboard_folder }} if-no-files-found: ignore path: | *.bin From 31c14a761739ba60ca06828e56d134934aef4037 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 18 Mar 2023 22:33:17 +1100 Subject: [PATCH 2/2] Update .github/workflows/ci_builds.yml --- .github/workflows/ci_builds.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_builds.yml b/.github/workflows/ci_builds.yml index 39164b8e6b76..1d217e2d7195 100644 --- a/.github/workflows/ci_builds.yml +++ b/.github/workflows/ci_builds.yml @@ -40,7 +40,7 @@ jobs: - name: 'Upload binaries' uses: actions/upload-artifact@v3 with: - name: binaries-${{ matrix.keyboard_folder }} + name: binaries-${{ matrix.keymap }} if-no-files-found: ignore path: | *.bin