Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkra committed Nov 4, 2023
1 parent aebbb7a commit 05fc28f
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
CMAKE_PREFIX_PATH: /opt/toolchains
strategy:
matrix:
built_type: [debug, release]
board: [zswatch_nrf5340_cpuapp@1, zswatch_nrf5340_cpuapp@3, native_posix, nrf5340dk_nrf5340_cpuapp]
built_type: [debug]
board: [zswatch_nrf5340_cpuapp@3]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -40,4 +40,14 @@ jobs:
- name: Build firmware
working-directory: ZSWatch
run: |
west build app -p -b ${{ matrix.board }} -- -DOVERLAY_CONFIG=boards/${{ matrix.built_type }}.conf
west build app -build-dir ${{ matrix.board }}_${{ matrix.built_type }} -p -b ${{ matrix.board }} -- -DOVERLAY_CONFIG=boards/${{ matrix.built_type }}.conf
ls
cd ${{ matrix.board }}_${{ matrix.built_type }}
ls
mv zephyr/zephyr.hex zephyr/${{ matrix.board }}_${{ matrix.built_type }}.hex
- name : Upload Firmware Files
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.board }}_${{ matrix.built_type }}
path: ${{ matrix.board }}_${{ matrix.built_type }}/zephyr/zephyr.hex

0 comments on commit 05fc28f

Please sign in to comment.