diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml new file mode 100644 index 00000000..0205c3c3 --- /dev/null +++ b/.woodpecker/build.yml @@ -0,0 +1,32 @@ +when: + - event: + - push + +steps: + - name: build + image: zmkfirmware/zmk-build-arm:stable + commands: + - mkdir config + - mv west.yml boards config/ + - ls + - ls config/ + # - 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