Skip to content

Commit 1d1822c

Browse files
transition from protocol to platform
1 parent fbf2abf commit 1d1822c

7 files changed

+51
-41
lines changed

.github/silabs-builds-mg24.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"default": [
3+
{
4+
"boards": ["BRD4186C", "BRD4187C", "BRD2601B", "BRD2703A"],
5+
"arguments": ["--docker"]
6+
},
7+
{
8+
"boards": ["BRD4187C", "BRD4186C"],
9+
"arguments": ["--docker", "--wifi wf200"]
10+
},
11+
{
12+
"boards": ["BRD4187C", "BRD4186C"],
13+
"arguments": ["--docker", "--wifi rs9116"]
14+
},
15+
{
16+
"boards": ["BRD4187C", "BRD4186C"],
17+
"arguments": ["--docker", "--wifi SiWx917"]
18+
}
19+
]
20+
}

.github/silabs-builds-mg26.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"default": [
3+
{
4+
"boards": ["BRD4116A", "BRD4117A", "BRD4118A", "BRD2608A"],
5+
"arguments": ["--docker"]
6+
}
7+
]
8+
}

.github/silabs-builds-mgm24.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"default": [
3+
{
4+
"boards": ["BRD4316A", "BRD4317A", "BRD4318A", "BRD4319A", "BRD2704A"],
5+
"arguments": ["--docker"]
6+
}
7+
]
8+
}

.github/silabs-builds-siwx.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"default": [
3+
{
4+
"boards": ["BRD4338A", "BRD2605A", "BRD4343A"],
5+
"arguments": ["--docker", "use_rps_extension=false"]
6+
}
7+
]
8+
}

.github/silabs-builds-thread.json

-16
This file was deleted.

.github/silabs-builds-wifi.json

-20
This file was deleted.

.github/workflows/lighting-app.yaml

+7-5
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ on:
1111

1212
jobs:
1313
build:
14+
name: Build Lighting-App variations
1415
runs-on: ubuntu-latest
1516

1617
container:
1718
image: ghcr.io/project-chip/chip-build-efr32:95
1819

1920
strategy:
2021
matrix:
21-
platform: [thread, wifi]
22+
platform: [mg24, mgm24, mg26, siwx]
2223

2324
steps:
2425
- name: Checkout
@@ -34,10 +35,11 @@ jobs:
3435
- name: Build Lighting-App configurations
3536
uses: SiliconLabsSoftware/matter-gn-build-action@v1.0.0
3637
with:
37-
json-file-path:
38-
${{ matrix.platform == 'thread' &&
39-
'./.github/silabs-builds-thread.json' ||
40-
'./.github/silabs-builds-wifi.json' }}
38+
json-file-path: >
39+
${{ matrix.platform == 'mg24' && './.github/silabs-builds-mg24.json' ||
40+
matrix.platform == 'mgm24' && './.github/silabs-builds-mgm24.json' ||
41+
matrix.platform == 'mg26' && './.github/silabs-builds-mg26.json' ||
42+
matrix.platform == 'siwx' && './.github/silabs-builds-siwx.json' }}
4143
example-app: "lighting-app"
4244
build-script: "./scripts/examples/gn_silabs_example.sh"
4345
output-directory: "./out/lighting-app"

0 commit comments

Comments
 (0)