Skip to content

Commit

Permalink
build on woodpecker
Browse files Browse the repository at this point in the history
  • Loading branch information
chdorner committed Oct 25, 2024
1 parent 3462888 commit 72c7c90
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .woodpecker/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
when:
- event:
- push

steps:
- name: build
image: zmkfirmware/zmk-build-arm:stable
commands:
- west init
- west update
- west zephyr-export
- west list
# build Zaphod
- west build -s zmk/app -b zaphod -d build/zaphod -- -DZMK_CONFIG="${PWD}"
# build Zaphod Lite w/ Seeduino XIAO
- west build -s zmk/app -b seeeduino_xiao -d build/zaphod_lite_xiao -- -DZMK_CONFIG="${PWD}" -DSHIELD=zaphod_lite
# build Zaphod Lite w/ Seeduino XIAO BLE
- west build -s zmk/app -b seeeduino_xiao_ble -d build/zaphod_lite_xiao_ble -- -DZMK_CONFIG="${PWD}" -DSHIELD=zaphod_lite
- cat -n build/zaphod/zephyr/.config


secrets:
- FORGEJO_TOKEN_CHDORNER_PACKAGE_WRITE
# - name: Rename zmk.uf2
# run: |
# cp build/zaphod/zephyr/zmk.uf2 zaphod.uf2
# cp build/zaphod_lite_xiao/zephyr/zmk.uf2 seeeduino_xiao_zaphod_lite.uf2
# cp build/zaphod_lite_xiao_ble/zephyr/zmk.uf2 seeeduino_xiao_ble_zaphod_lite.uf2

0 comments on commit 72c7c90

Please sign in to comment.