summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2023-03-29 01:52:18 +0000
committerQMK Bot <hello@qmk.fm>2023-03-29 01:52:18 +0000
commitdc2a625a34a4abade436adcd137ec7a38c36beaa (patch)
treea095e560d247b9514424b2b417b1df5ccf966a2a /.github
parent6195b4fca2fd889b2b94a65501911a77a1246afb (diff)
parentc94241d447f8ea87537991f12cf91140775fba31 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci_builds.yml20
1 files changed, 13 insertions, 7 deletions
diff --git a/.github/workflows/ci_builds.yml b/.github/workflows/ci_builds.yml
index 7429bc2c94..1f1813faab 100644
--- a/.github/workflows/ci_builds.yml
+++ b/.github/workflows/ci_builds.yml
@@ -4,10 +4,9 @@ permissions:
contents: read
on:
- push:
- branches:
- - master
- - develop
+ workflow_dispatch:
+ schedule:
+ - cron: '0 0,12 * * *'
jobs:
ci_builds:
@@ -18,7 +17,9 @@ jobs:
if: github.repository == 'qmk/qmk_firmware'
strategy:
+ fail-fast: false
matrix:
+ branch: [master, develop]
keymap: [default, via]
container: ghcr.io/qmk/qmk_cli
@@ -30,19 +31,24 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
+ ref: ${{ matrix.branch }}
- name: Install dependencies
run: pip3 install -r requirements.txt
- 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 }}
+ run: |
+ export NCPUS=$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null)
+ qmk mass-compile -t -j $NCPUS -km ${{ matrix.keymap }}
- - name: 'Upload binaries'
+ - name: 'Upload artifacts'
uses: actions/upload-artifact@v3
+ if: always()
with:
- name: binaries-${{ matrix.keymap }}
+ name: artifacts-${{ matrix.branch }}-${{ matrix.keymap }}
if-no-files-found: ignore
path: |
*.bin
*.hex
*.uf2
+ .build/failed.*