File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 id : set-matrix
3030 run : |
3131 # Parse keymaps file into JSON array of {keyboard, keymap, artifact_name} objects
32- # then batch them into groups of 10
32+ # then batch them into groups of 16
3333 keyboards=$(grep -v '^#' keymaps | grep -v '^//' | grep -v '^$' | while read -r line; do
3434 kb=$(echo "$line" | awk '{print $1}')
3535 km=$(echo "$line" | awk '{print $2}')
4040 # Split into batches of 16
4141 [range(0; length; 16) as $i | {
4242 batch_id: ($i / 16 | floor),
43+ batch_name: (.[$i:$i+16] | map("\(.keyboard):\(.keymap)") | join(", ")),
4344 keyboards: .[$i:$i+16]
4445 }]
4546 ')
8889 sudo util/qmk_install.sh -y
8990
9091 build :
92+ name : build (${{ matrix.batch_id }}, ${{ matrix.batch_name }})
9193 needs : [lint, matrix, setup]
9294 runs-on : ubuntu-latest
9395 strategy :
You can’t perform that action at this time.
0 commit comments