Skip to content

Commit

Permalink
add matrices for apps and board
Browse files Browse the repository at this point in the history
  • Loading branch information
mykrupp committed Sep 23, 2024
1 parent d328ecf commit b56d873
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ on:

jobs:
thread_build:
name: EFR32 Thread

runs-on: ubuntu-latest
name: EFR32 Thread
strategy:
matrix:
board: [4187c, 4316c, 4337a]
app: [dishwasher-app, light-switch-app, lighting-app, lock-app, onoff-plug-app, sensor-app, thermostat, window-app]
ncp: [thread]


container:
image: ghcr.io/siliconlabssoftware/simplicity-sdk:latest
volumes:
Expand Down Expand Up @@ -55,16 +60,16 @@ jobs:
slc configuration --sdk ${SISDK_ROOT}
slc signature trust --extension-path "${SISDK_ROOT}/extension/matter_extension/"
slc signature trust --sdk ${SISDK_ROOT}
slc generate --daemon -d ${SISDK_ROOT}/extension/matter_extension/brd4187c/lighting-app-thread -p ${SISDK_ROOT}extension/matter_extension/slc/sample-app/lighting-app/efr32/lighting-app-thread.slcp --with brd4187c --generator-timeout=180
slc generate --daemon -d ${SISDK_ROOT}/extension/matter_extension/${{ matrix.board }}/${{ matrix.ncp }}-${{ matrix.app }} -p ${SISDK_ROOT}extension/matter_extension/slc/sample-app/lighting-app/efr32/${{ matrix.ncp }}-${{ matrix.app }}.slcp --with ${{ matrix.board }} --generator-timeout=180
- name: SLC Build
run: |
export ARM_GCC_DIR=${{ steps.arm-none-eabi-gcc-action.outputs.path }}/..
make all -C ${SISDK_ROOT}/extension/matter_extension/brd4187c/lighting-app-thread -f lighting-app-thread.Makefile -j8
make all -C ${SISDK_ROOT}/extension/matter_extension/${{ matrix.board }}/${{ matrix.ncp }}-${{ matrix.app }} -f ${{ matrix.ncp }}-${{ matrix.app }}.Makefile -j8
- uses: actions/upload-artifact@v4
with:
name: lighting-app-thread
path: ${SISDK_ROOT}/extension/matter_extension/brd4187c/lighting-app-thread
name: ${{ matrix.ncp }}-${{ matrix.app }}
path: ${SISDK_ROOT}/extension/matter_extension/${{ matrix.board }}/${{ matrix.ncp }}-${{ matrix.app }}


0 comments on commit b56d873

Please sign in to comment.