Skip to content

Commit 6c83e64

Browse files
split wifi and thread
1 parent f82f0ea commit 6c83e64

File tree

4 files changed

+41
-14
lines changed

4 files changed

+41
-14
lines changed

.github/silabs-builds-thread.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"lighting-app": [
3+
{
4+
"boards": ["BRD4186C", "BRD4187C", "BRD2601B", "BRD2703A"],
5+
"arguments": ["--docker"]
6+
},
7+
{
8+
"boards": ["BRD4316A", "BRD4317A", "BRD4318A", "BRD4319A", "BRD2704A"],
9+
"arguments": ["--docker"]
10+
},
11+
{
12+
"boards": ["BRD4116A", "BRD4117A", "BRD4118A", "BRD2608A"],
13+
"arguments": ["--docker"]
14+
}
15+
]
16+
}

.github/silabs-builds-wifi.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"lighting-app": [
3+
{
4+
"boards": ["BRD4338A", "BRD2605A", "BRD43343A"],
5+
"arguments": ["--docker", "use_rps_extension=false"]
6+
},
7+
{
8+
"boards": ["BRD4187C", "BRD4186C"],
9+
"arguments": ["--docker", "--wifi wf200", "--clean"]
10+
},
11+
{
12+
"boards": ["BRD4187C", "BRD4186C"],
13+
"arguments": ["--docker", "--wifi rs9116", "--clean"]
14+
},
15+
{
16+
"boards": ["BRD4187C", "BRD4186C"],
17+
"arguments": ["--docker", "--wifi SiWx917", "--clean"]
18+
}
19+
]
20+
}

.github/silabs-builds.json

-13
This file was deleted.

.github/workflows/lighting-app.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
container:
1717
image: ghcr.io/project-chip/chip-build-efr32:90
1818

19+
strategy:
20+
matrix:
21+
platform: [thread, wifi]
22+
1923
steps:
2024
- name: Checkout
2125
uses: actions/checkout@v4
@@ -28,6 +32,6 @@ jobs:
2832
- name: Build Lighting-App configurations
2933
uses: SiliconLabsSoftware/matter-gn-build-action@v0.0.1
3034
with:
31-
json-file-path: "./.github/silabs-builds.json"
35+
json-file-path: ${{ matrix.platform == 'thread' && './.github/silabs-builds-thread.json' || './.github/silabs-builds-wifi.json' }}
3236
example-app: "lighting-app"
3337
build-script: "./scripts/examples/gn_silabs_example.sh"

0 commit comments

Comments
 (0)