~sungo/qmk_userspace

c563496877f38d5bc393a7bf58278d22a117392e — sungo 3 months ago 0a02163
automatically build firmware files
1 files changed, 28 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +28 -0
@@ 0,0 1,28 @@
image: archlinux
arch: x86_64
packages:
- qmk
- python-pillow
- zip

sources:
- git@git.sr.ht:~sungo/qmk_userspace
- https://github.com/qmk/qmk_firmware#0.17.0

secrets:
- f07f7cff-5ce1-45f3-b34f-5dd66d219b8d

artifacts:
- qmk.zip

tasks:
- qmk: |
    qmk setup -y
    ln -s ~/qmk_userspace ~/qmk_firmware/users/sungo
- build: |
    cd qmk_userspace
    find keymaps -iname \*.json -print0 | xargs -0 -n 1 qmk compile
- artifacts: |
    mkdir qmk
    cp qmk_firmware/.build/*.hex qmk/
    zip qmk qmk/*.hex