Skip to content

Commit

Permalink
Update workflow to build a router image
Browse files Browse the repository at this point in the history
  • Loading branch information
Adminiuga committed Jan 27, 2025
1 parent 5a566fe commit 90847ac
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions .github/workflows/app-btl-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,19 @@ jobs:
SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_CORE_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_APP_GROUP_RUNTIME_DEFAULT:0,
- name_suffix: router
image_id_subtype: 2
with: >-
zigbee_pro_router_stack
without: >-
debug_swo,
zigbee_pro_leaf_stack
configuration: >-
SLI_ZIGBEE_PRIMARY_NETWORK_DEVICE_TYPE:SLI_ZIGBEE_NETWORK_DEVICE_TYPE_ROUTER,
SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_CORE_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_APP_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_ZCL_GROUP_RUNTIME_DEFAULT:0
- name_suffix: debug
Expand All @@ -98,7 +111,9 @@ jobs:
model: MLight${{ inputs.flavor != '' && format('-{0}', inputs.flavor) || '' }}
project_name: MLight-${{ inputs.flavor }}-${{ matrix.name_suffix }}
device: ${{ inputs.device }}
components: ${{ inputs.components }}
components: >-
${{ inputs.components }}
${{ matrix.with != '' && format(', {0}', matrix.with) || '' }}
configuration: >-
${{ inputs.configuration != '' && format('{0},', inputs.configuration) || '' }}
${{ matrix.configuration != '' && format('{0},', matrix.configuration) || '' }}
Expand Down Expand Up @@ -142,6 +157,19 @@ jobs:
SL_ZIGBEE_DEBUG_APP_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_ZCL_GROUP_RUNTIME_DEFAULT:0
- name_suffix: router
image_id_subtype: 2
with: >-
zigbee_pro_router_stack
without: >-
debug_swo,
zigbee_pro_leaf_stack
configuration: >-
SLI_ZIGBEE_PRIMARY_NETWORK_DEVICE_TYPE:SLI_ZIGBEE_NETWORK_DEVICE_TYPE_ROUTER,
SL_ZIGBEE_DEBUG_STACK_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_CORE_GROUP_RUNTIME_DEFAULT:0,
SL_ZIGBEE_DEBUG_APP_GROUP_RUNTIME_DEFAULT:0,
- name_suffix: debug
image_id_subtype: 7
configuration: >-
Expand All @@ -154,7 +182,9 @@ jobs:
model: MLight${{ inputs.flavor != '' && format('-{0}', inputs.flavor) || '' }}
project_name: MLight-${{ inputs.flavor }}-${{ matrix.name_suffix }}
device: ${{ inputs.device }}
components: ${{ inputs.components }}
components: >-
${{ inputs.components }}
${{ matrix.with != '' && format(', {0}', matrix.with) || '' }}
configuration: >-
${{ inputs.configuration != '' && format('{0},', inputs.configuration) || '' }}
${{ matrix.configuration != '' && format('{0},', matrix.configuration) || '' }}
Expand Down

0 comments on commit 90847ac

Please sign in to comment.