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 7a4e393
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .woodpecker/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
when:
- event:
- push

steps:
- name: init
image: zmkfirmware/zmk-build-arm:stable
commands:
- mkdir config
- mv west.yml boards config/
- find . -type f
- west init -l config
- west update
- west zephyr-export
- west list
# build Zaphod
- west build -s zmk/app -b zaphod -d build/zaphod -- -DZMK_CONFIG="${CI_WORKSPACE}/config"
# 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 7a4e393

Please sign in to comment.