parent
a9160a6550
commit
7d5b0d9350
1 changed files with 15 additions and 1 deletions
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
@ -3,13 +3,27 @@ on: [push, pull_request, workflow_dispatch]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: zmkfirmware/zmk-build-arm:stable
|
||||||
steps:
|
steps:
|
||||||
- name: Git checkout Config
|
- name: Git checkout Config
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- run: git clone https://github.com/zmkfirmware/zmk.git
|
- run: git clone https://github.com/zmkfirmware/zmk.git
|
||||||
- run: apt-get update
|
- run: apt-get update
|
||||||
- run: apt-get install tree -y
|
- run: apt-get install tree -y
|
||||||
- run: tree
|
- run: tree /
|
||||||
|
- name: Initialize ZMK
|
||||||
|
working-directory: ./zmk
|
||||||
|
run: |
|
||||||
|
west init -l app/
|
||||||
|
west update
|
||||||
|
- name: Build Left Shield
|
||||||
|
working-directory: ./zmk/app
|
||||||
|
run: west build -d build/left -b nice_nano_v2 -- -DSHIELD=kyria_rev3_left -DZMK_CONFIG="../../config"
|
||||||
|
- name: Build Right Shield
|
||||||
|
working-directory: ./zmk/app
|
||||||
|
run: west build -d build/right -b nice_nano_v2 -- -DSHIELD=kyria_rev3_right -DZMK_CONFIG="../../config"
|
||||||
|
- run: tree /
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue