[Silabs] Reduce the amount of target built by the ci while keeping almost the sa… (#36043)
* Reduce the amount of target build by the ci why keeping almost the same code coverage
* Fix missing target change in bloat report
diff --git a/.github/workflows/examples-efr32.yaml b/.github/workflows/examples-efr32.yaml
index 6d28635..57337d5 100644
--- a/.github/workflows/examples-efr32.yaml
+++ b/.github/workflows/examples-efr32.yaml
@@ -68,8 +68,7 @@
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
--enable-flashbundle \
- --target efr32-brd4187c-thermostat-openthread-mtd \
- --target efr32-brd4187c-air-quality-sensor-app-openthread-mtd \
+ --target efr32-brd4187c-thermostat-use-ot-lib \
--target efr32-brd4187c-switch-shell-use-ot-coap-lib \
--target efr32-brd4187c-unit-test \
build \
@@ -82,29 +81,17 @@
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
--enable-flashbundle \
- --target efr32-brd4187c-light-use-ot-lib \
- --target efr32-brd4187c-pump \
- --target efr32-brd4187c-lock-shell-heap-monitoring \
- build \
- --copy-artifacts-to out/artifacts \
- "
- - name: Clean out build output
- run: rm -rf ./out
- - name: Build BRD4187C variants (3)
- run: |
- ./scripts/run_in_build_env.sh \
- "./scripts/build/build_examples.py \
- --enable-flashbundle \
+ --target efr32-brd4187c-lock-rpc \
+ --target efr32-brd4187c-air-quality-sensor-app-shell-heap-monitoring \
--target efr32-brd4187c-window-covering-additional-data-advertising \
- --target efr32-brd4187c-light-rpc \
build \
--copy-artifacts-to out/artifacts \
"
- name: Prepare some bloat report from the previous builds
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
- efr32 BRD4187C lighting-app \
- out/efr32-brd4187c-light-rpc/matter-silabs-lighting-example.out \
+ efr32 BRD4187C lock-app \
+ out/efr32-brd4187c-lock-rpc/matter-silabs-lock-example.out \
/tmp/bloat_reports/
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
efr32 BRD4187C window-app \
@@ -112,12 +99,12 @@
/tmp/bloat_reports/
- name: Clean out build output
run: rm -rf ./out
- - name: Build BRD4338A WiFi Soc variants
+ - name: Build some WiFi Soc variants
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
--enable-flashbundle \
- --target efr32-brd4338a-light-skip-rps-generation \
+ --target efr32-brd2605a-light-skip-rps-generation \
--target efr32-brd4338a-lock-skip-rps-generation \
build \
--copy-artifacts-to out/artifacts \
@@ -130,24 +117,6 @@
/tmp/bloat_reports/
- name: Clean out build output
run: rm -rf ./out
- - name: Build BRD2605A WiFi Soc variants
- run: |
- ./scripts/run_in_build_env.sh \
- "./scripts/build/build_examples.py \
- --enable-flashbundle \
- --target efr32-brd2605a-light-skip-rps-generation \
- --target efr32-brd2605a-lock-skip-rps-generation \
- build \
- --copy-artifacts-to out/artifacts \
- "
- - name: Prepare bloat report for brd2605a lock app
- run: |
- .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
- efr32 BRD2605a lock-app \
- out/efr32-brd2605a-lock-skip-rps-generation/matter-silabs-lock-example.out \
- /tmp/bloat_reports/
- - name: Clean out build output
- run: rm -rf ./out
- name: Build EFR32 with WiFi NCP
run: |
./scripts/run_in_build_env.sh \