Skip to content

Commit

Permalink
Update github actions for sdk 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
rbaron committed Oct 30, 2024
1 parent 2962b5b commit 2673d2a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ inputs:
sample-dir:
description: "Sample directory to build"
required: true
board:
description: "Board definition to use"
default: bparasite_nrf52840
soc:
description: "SoC to use"
default: nrf52840
revision:
description: "Board revision use"
default: "2.0.0"
Expand All @@ -22,6 +22,6 @@ runs:
west build \
--build-dir /repo/${{ inputs.sample-dir }}/build \
--pristine \
--board ${{ inputs.board }}@${{ inputs.revision }} \
--board bparasite@${{ inputs.revision }}/${{ inputs.soc }} \
/repo/${{ inputs.sample-dir }} -- ${{ inputs.cmake-extra }}
shell: bash
10 changes: 5 additions & 5 deletions .github/workflows/b-parasite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: ./.github/actions/build
with:
sample-dir: code/nrf-connect/samples/blinky
board: bparasite_nrf52840
soc: nrf52840
revision: 2.0.0
output-bin: blinky_nrf52840.hex

Expand All @@ -48,7 +48,7 @@ jobs:
uses: ./.github/actions/build
with:
sample-dir: code/nrf-connect/samples/input
board: bparasite_nrf52840
soc: nrf52840
revision: 2.0.0
output-bin: input_nrf52840.hex

Expand All @@ -64,7 +64,7 @@ jobs:
uses: ./.github/actions/build
with:
sample-dir: code/nrf-connect/samples/soil_read_loop
board: bparasite_nrf52840
soc: nrf52840
revision: 2.0.0
output-bin: soil_read_loop_nrf52840.hex

Expand All @@ -84,7 +84,7 @@ jobs:
uses: ./.github/actions/build
with:
sample-dir: code/nrf-connect/samples/ble
board: bparasite_${{ matrix.soc }}
soc: ${{ matrix.soc }}
revision: ${{ matrix.revision }}
cmake-extra: -DCONFIG_PRST_BLE_ENCODING_BTHOME_V2=y -DCONFIG_PRST_SLEEP_DURATION_MSEC=1000 -DCONFIG_PRSTLIB_LOG_LEVEL_DBG=y
output-bin: ble_${{ matrix.soc }}_${{ matrix.revision }}_debug.hex
Expand All @@ -105,7 +105,7 @@ jobs:
uses: ./.github/actions/build
with:
sample-dir: code/nrf-connect/samples/zigbee
board: bparasite_${{ matrix.soc }}
soc: ${{ matrix.soc }}
revision: ${{ matrix.revision }}
cmake-extra: -DCONFIG_PRSTLIB_LOG_LEVEL_DBG=y
output-bin: zigbee_${{ matrix.soc }}_${{ matrix.revision }}_debug.hex

0 comments on commit 2673d2a

Please sign in to comment.