add build workflow
This commit is contained in:
parent
6f0cd5e025
commit
ed5b8f09cc
1 changed files with 38 additions and 0 deletions
38
.github/workflows/build.yml
vendored
Normal file
38
.github/workflows/build.yml
vendored
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
name: Build QMK firmware
|
||||
on: [push, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/qmk/qmk_cli
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
|
||||
- name: Disable git safe directory checks
|
||||
run : git config --global --add safe.directory '*'
|
||||
|
||||
- name: Checkout QMK
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: qmk/qmk_firmware
|
||||
submodules: recursive
|
||||
|
||||
- name: Checkout userspace
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: keyboards\crkbd\keymaps\qmk-keymap-corne
|
||||
|
||||
- name: Build firmware
|
||||
run: qmk compile -kb crkbd/rev1 -km qmk-keymap-corne -e CONVERT_TO=rp2040_ce
|
||||
|
||||
|
||||
- name: Archive firmware
|
||||
uses: actions/upload-artifact@v3
|
||||
continue-on-error: true
|
||||
with:
|
||||
path: |
|
||||
*.hex
|
||||
*.bin
|
||||
*.uf2
|
||||
Loading…
Add table
Add a link
Reference in a new issue