Remove Show dts.pre.tmp and Convert seeeduino_xiao bin to uf2 steps

This commit is contained in:
Manna Harbour 2022-04-05 11:36:50 +10:00
parent 914dd6ccf4
commit 9d8b93c264

View File

@ -237,23 +237,6 @@ jobs:
run: west zephyr-export
- name: Build
run: west build -s zmk/app -b ${{ matrix.board }} -- ${{ steps.variables.outputs.shield-arg }} -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
- name: Show dts.pre.tmp
if: ${{ failure() }}
run: |
dts="build/zephyr/${{ matrix.board }}.dts.pre.tmp"
if [ -f "$dts" ]
then
cat -n "$dts"
fi
- name: Convert seeeduino_xiao bin to uf2
if: ${{ matrix.board == 'seeeduino_xiao' }}
run: |
bin='build/zephyr/zmk.bin'
uf2='build/zephyr/zmk.uf2'
if [ -f "$bin" -a ! -f "$uf2" ]
then
python3 ./tools/uf2/utils/uf2conv.py -c -f SAMD21 -o "$uf2" "$bin"
fi
- name: Prepare firmware artifacts
run: |
for extension in "hex" "uf2"