From 6c83e645bd98cdf9bb08e7009f6e2710c51fa4df Mon Sep 17 00:00:00 2001 From: Mathieu Kardous Date: Fri, 13 Dec 2024 16:21:11 -0500 Subject: [PATCH] split wifi and thread --- .github/silabs-builds-thread.json | 16 ++++++++++++++++ .github/silabs-builds-wifi.json | 20 ++++++++++++++++++++ .github/silabs-builds.json | 13 ------------- .github/workflows/lighting-app.yaml | 6 +++++- 4 files changed, 41 insertions(+), 14 deletions(-) create mode 100644 .github/silabs-builds-thread.json create mode 100644 .github/silabs-builds-wifi.json delete mode 100644 .github/silabs-builds.json diff --git a/.github/silabs-builds-thread.json b/.github/silabs-builds-thread.json new file mode 100644 index 0000000000..b79030ba69 --- /dev/null +++ b/.github/silabs-builds-thread.json @@ -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"] + } + ] +} \ No newline at end of file diff --git a/.github/silabs-builds-wifi.json b/.github/silabs-builds-wifi.json new file mode 100644 index 0000000000..f1af7f0baa --- /dev/null +++ b/.github/silabs-builds-wifi.json @@ -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"] + } + ] +} \ No newline at end of file diff --git a/.github/silabs-builds.json b/.github/silabs-builds.json deleted file mode 100644 index bee4f1c1b4..0000000000 --- a/.github/silabs-builds.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "lighting-app": [ - { - "boards": ["BRD4186C", "BRD4187C"], - "arguments": ["--docker"] - }, - { - "boards": ["BRD4338A"], - "arguments": ["--docker", "use_rps_extension=false"] - } - - ] -} \ No newline at end of file diff --git a/.github/workflows/lighting-app.yaml b/.github/workflows/lighting-app.yaml index a9f8fd082d..2285b815c7 100644 --- a/.github/workflows/lighting-app.yaml +++ b/.github/workflows/lighting-app.yaml @@ -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 @@ -28,6 +32,6 @@ jobs: - name: Build Lighting-App configurations uses: SiliconLabsSoftware/matter-gn-build-action@v0.0.1 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"