-
-
Notifications
You must be signed in to change notification settings - Fork 11
40 lines (39 loc) · 1.05 KB
/
build-converter-xmk.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 2022 Manna Harbour
# https://github.com/manna-harbour/xmk
name: Build converter/xmk
#on: [push, pull_request, workflow_dispatch]
on: [pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
container: qmkfm/qmk_cli
strategy:
fail-fast: false
steps:
- name: qmk
uses: actions/checkout@v3
with:
repository: qmk/qmk_firmware
ref: master
path: qmk_firmware
fetch-depth: 0
- name: submodules
working-directory: qmk_firmware
run: |
make git-submodule
- name: build
working-directory: qmk_firmware
run: |
for km in keyboards/converter/xmk/keymaps/*
do
qmk compile -kb converter/xmk -km `basename "$km"`
done
- name: copy
run: |
mkdir artifacts && cp qmk_firmware/*xmk* artifacts
- name: artifacts
uses: actions/upload-artifact@v3
with:
name: xmk-converter-xmk
path: artifacts
continue-on-error: true