From 448232019387b44cb86ee4628c1c1e6e869956c0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:56:10 +0000 Subject: [PATCH] Bump third_party/pigweed/repo from `f4d0b35` to `cf4291d` (#28404) * Bump third_party/pigweed/repo from `f4d0b35` to `cf4291d` Bumps [third_party/pigweed/repo](https://github.com/google/pigweed) from `f4d0b35` to `cf4291d`. - [Commits](https://github.com/google/pigweed/compare/f4d0b3563c09d945478267fcff619a959cd3e9f6...cf4291da443f5b2db18827747bb66499459de5bd) --- updated-dependencies: - dependency-name: third_party/pigweed/repo dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Attempt to save a bit of space by not compiling unneeded app during coverage run * Split out ef32 builds to try to not run out of storage * Another update to try to reduce size of coverage output - do not build additional tools --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrei Litvin --- .github/workflows/examples-efr32.yaml | 26 +++++++++++++++++++++++--- scripts/build_coverage.sh | 8 +++++++- third_party/pigweed/repo | 2 +- 3 files changed, 31 insertions(+), 5 deletions(-) diff --git a/.github/workflows/examples-efr32.yaml b/.github/workflows/examples-efr32.yaml index 13f4b1d81f871d..685a641e5a552a 100644 --- a/.github/workflows/examples-efr32.yaml +++ b/.github/workflows/examples-efr32.yaml @@ -61,22 +61,42 @@ jobs: scripts/examples/gn_silabs_example.sh examples/lighting-app/silabs ./out/light-app BRD4187C --slc_generate --docker scripts/examples/gn_silabs_example.sh examples/lighting-app/silabs ./out/light-app BRD4164A --slc_generate --docker rm -rf ./out/ - - name: Build some BRD4187C variants + - name: Build some BRD4187C variants (1) run: | ./scripts/run_in_build_env.sh \ "./scripts/build/build_examples.py \ --enable-flashbundle \ - --target efr32-brd4187c-window-covering-additional_data_advertising \ --target efr32-brd4187c-thermostat-openthread_mtd \ --target efr32-brd4187c-switch-sed-shell-use_ot_coap_lib \ --target efr32-brd4187c-unit-test \ + build \ + --copy-artifacts-to out/artifacts \ + " + - name: Clean out build output + run: rm -rf ./out + - name: Build some BRD4187C variants (2) + run: | + ./scripts/run_in_build_env.sh \ + "./scripts/build/build_examples.py \ + --enable-flashbundle \ --target efr32-brd4187c-light-use_ot_lib \ - --target efr32-brd4187c-light-rpc \ --target efr32-brd4187c-pump \ --target efr32-brd4187c-lock-rpc-shell-enable_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-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 \ diff --git a/scripts/build_coverage.sh b/scripts/build_coverage.sh index f88129a6c94260..9e7b4a0fe8a6d6 100755 --- a/scripts/build_coverage.sh +++ b/scripts/build_coverage.sh @@ -119,7 +119,13 @@ if [ "$skip_gn" == false ]; then source "$CHIP_ROOT/scripts/activate.sh" # Generates ninja files - gn --root="$CHIP_ROOT" gen "$OUTPUT_ROOT" --args='use_coverage=true chip_build_all_clusters_app=true' + EXTRA_GN_ARGS="" + if [[ "$TESTS" == "yaml" || "$TESTS" == "all" ]]; then + EXTRA_GN_ARGS="$EXTRA_GN_ARGS chip_build_all_clusters_app=true" + else + EXTRA_GN_ARGS="$EXTRA_GN_ARGS chip_build_tools=false" + fi + gn --root="$CHIP_ROOT" gen "$OUTPUT_ROOT" --args="use_coverage=true$EXTRA_GN_ARGS" ninja -C "$OUTPUT_ROOT" # Run unit tests diff --git a/third_party/pigweed/repo b/third_party/pigweed/repo index f4d0b3563c09d9..cf4291da443f5b 160000 --- a/third_party/pigweed/repo +++ b/third_party/pigweed/repo @@ -1 +1 @@ -Subproject commit f4d0b3563c09d945478267fcff619a959cd3e9f6 +Subproject commit cf4291da443f5b2db18827747bb66499459de5bd