From a412a2d972024062ce9ecd8ed63dcb855260b528 Mon Sep 17 00:00:00 2001 From: Christof Dorner Date: Fri, 25 Oct 2024 10:34:15 +0200 Subject: [PATCH] build on woodpecker --- .woodpecker/build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .woodpecker/build.yml diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml new file mode 100644 index 00000000..152e6ca0 --- /dev/null +++ b/.woodpecker/build.yml @@ -0,0 +1,30 @@ +when: + - event: + - push + +steps: + - name: init + image: zmkfirmware/zmk-build-arm:stable + commands: + - mkdir config + - mv west.yml boards config/ + - 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="$CI_WORKSPACE/config" -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="$CI_WORKSPACE/config" -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