Skip to content

Commit ee8ddec

Browse files
committed
Copy size python scripts directly from C++ matter SDK instead of trying to use them from a submodule
1 parent 070a102 commit ee8ddec

15 files changed

Lines changed: 437 additions & 352 deletions

File tree

.github/actions/checkout-submodules-and-cpp-bootstrap/action.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/actions/checkout-submodules/action.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/actions/dump-disk-info/action.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/actions/git-safe-directory/action.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/actions/maximize-runner-disk/action.yaml

Lines changed: 0 additions & 48 deletions
This file was deleted.

.github/actions/setup-size-reports/action.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ inputs:
88
runs:
99
using: "composite"
1010
steps:
11-
- name: Set up environment for size reports
12-
shell: bash
11+
- uses: Wandalen/wretry.action@v1.4.10
12+
name: Set up environment for size reports
1313
env:
1414
GH_CONTEXT: ${{ inputs.gh-context }}
15-
run: matter_cpp/repo/scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}"
15+
with:
16+
command: scripts/memory/gh_sizes_environment.py "${GH_CONTEXT}"
17+
attempt_limit: 2
18+
attempt_delay: 2000

.github/workflows/examples-linux.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ jobs:
3434
- name: Checkout
3535
uses: actions/checkout@v3
3636

37-
- name: Checkout submodules & Matter CPP Bootstrap
38-
uses: ./.github/actions/checkout-submodules-and-cpp-bootstrap
39-
with:
40-
platform: linux
41-
4237
- name: Set up environment for size reports
4338
uses: ./.github/actions/setup-size-reports
4439
if: ${{ !env.ACT }}
@@ -50,15 +45,15 @@ jobs:
5045

5146
- name: Prepare bloat report from the previous builds
5247
run: |
53-
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
48+
scripts/memory/gh_sizes.py \
5449
linux rs-matter onoff-light-bt \
5550
target/release/onoff_light_bt \
5651
/tmp/bloat_reports/
57-
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
52+
scripts/memory/gh_sizes.py \
5853
linux rs-matter dimmable_light \
5954
target/release/dimmable_light \
6055
/tmp/bloat_reports/
61-
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
56+
scripts/memory/gh_sizes.py \
6257
linux rs-matter speaker \
6358
target/release/speaker \
6459
/tmp/bloat_reports/

.gitmodules

Lines changed: 0 additions & 4 deletions
This file was deleted.

scripts/checkout_submodules.py

Lines changed: 0 additions & 187 deletions
This file was deleted.

0 commit comments

Comments
 (0)