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 fb34b10
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 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,11 @@ 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
mv {{ matrix.board }}_${{ matrix.built_type }}/zephyr/zephyr.hex {{ matrix.board }}_${{ matrix.built_type }}/zephyr/${{ matrix.board }}_${{ matrix.built_type }}.hex
- name : Upload Firmware
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.board }}_${{ matrix.built_type }}
path: ZSWatch/${{ matrix.board }}_${{ matrix.built_type }}/zephyr/${{ matrix.board }}_${{ matrix.built_type }}.hex

0 comments on commit fb34b10

Please sign in to comment.