Skip to content

Commit

Permalink
split wifi and thread
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Dec 13, 2024
1 parent f82f0ea commit 6c83e64
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 14 deletions.
16 changes: 16 additions & 0 deletions .github/silabs-builds-thread.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"lighting-app": [
{
"boards": ["BRD4186C", "BRD4187C", "BRD2601B", "BRD2703A"],
"arguments": ["--docker"]
},
{
"boards": ["BRD4316A", "BRD4317A", "BRD4318A", "BRD4319A", "BRD2704A"],
"arguments": ["--docker"]
},
{
"boards": ["BRD4116A", "BRD4117A", "BRD4118A", "BRD2608A"],
"arguments": ["--docker"]
}
]
}
20 changes: 20 additions & 0 deletions .github/silabs-builds-wifi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"lighting-app": [
{
"boards": ["BRD4338A", "BRD2605A", "BRD43343A"],
"arguments": ["--docker", "use_rps_extension=false"]
},
{
"boards": ["BRD4187C", "BRD4186C"],
"arguments": ["--docker", "--wifi wf200", "--clean"]
},
{
"boards": ["BRD4187C", "BRD4186C"],
"arguments": ["--docker", "--wifi rs9116", "--clean"]
},
{
"boards": ["BRD4187C", "BRD4186C"],
"arguments": ["--docker", "--wifi SiWx917", "--clean"]
}
]
}
13 changes: 0 additions & 13 deletions .github/silabs-builds.json

This file was deleted.

6 changes: 5 additions & 1 deletion .github/workflows/lighting-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
container:
image: ghcr.io/project-chip/chip-build-efr32:90

strategy:
matrix:
platform: [thread, wifi]

steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -28,6 +32,6 @@ jobs:
- name: Build Lighting-App configurations
uses: SiliconLabsSoftware/[email protected]
with:
json-file-path: "./.github/silabs-builds.json"
json-file-path: ${{ matrix.platform == 'thread' && './.github/silabs-builds-thread.json' || './.github/silabs-builds-wifi.json' }}
example-app: "lighting-app"
build-script: "./scripts/examples/gn_silabs_example.sh"

0 comments on commit 6c83e64

Please sign in to comment.