Skip to content

Commit 0891e61

Browse files
authored
Merge branch 'master' into feature/da_verifier_revocation_check_2
2 parents f79903e + d653df1 commit 0891e61

File tree

483 files changed

+22907
-16693
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

483 files changed

+22907
-16693
lines changed

.github/workflows/bloat_check.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535

3636
container:
37-
image: ghcr.io/project-chip/chip-build:47
37+
image: ghcr.io/project-chip/chip-build:50
3838

3939
steps:
4040
- name: Checkout

.github/workflows/build.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
if: github.actor != 'restyled-io[bot]'
4343

4444
container:
45-
image: ghcr.io/project-chip/chip-build:47
45+
image: ghcr.io/project-chip/chip-build:50
4646
volumes:
4747
- "/:/runner-root-volume"
4848
- "/tmp/log_output:/tmp/test_logs"
@@ -138,7 +138,7 @@ jobs:
138138
if: github.actor != 'restyled-io[bot]'
139139

140140
container:
141-
image: ghcr.io/project-chip/chip-build:47
141+
image: ghcr.io/project-chip/chip-build:50
142142
volumes:
143143
- "/:/runner-root-volume"
144144
- "/tmp/log_output:/tmp/test_logs"
@@ -281,7 +281,7 @@ jobs:
281281
if: github.actor != 'restyled-io[bot]'
282282

283283
container:
284-
image: ghcr.io/project-chip/chip-build:47
284+
image: ghcr.io/project-chip/chip-build:50
285285
volumes:
286286
- "/:/runner-root-volume"
287287
- "/tmp/log_output:/tmp/test_logs"
@@ -342,7 +342,7 @@ jobs:
342342
if: github.actor != 'restyled-io[bot]'
343343

344344
container:
345-
image: ghcr.io/project-chip/chip-build:47
345+
image: ghcr.io/project-chip/chip-build:50
346346
volumes:
347347
- "/:/runner-root-volume"
348348
- "/tmp/log_output:/tmp/test_logs"
@@ -451,7 +451,7 @@ jobs:
451451
if: github.actor != 'restyled-io[bot]'
452452

453453
container:
454-
image: ghcr.io/project-chip/chip-build:47
454+
image: ghcr.io/project-chip/chip-build:50
455455
volumes:
456456
- "/:/runner-root-volume"
457457
- "/tmp/log_output:/tmp/test_logs"
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Copyright (c) 2024 Project CHIP Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Certification test checks
16+
17+
on:
18+
pull_request:
19+
paths:
20+
- "src/app/tests/suites/certification/**"
21+
22+
jobs:
23+
check-certification-tests:
24+
name: Check for common problems in certification tests
25+
runs-on: ubuntu-latest
26+
27+
container:
28+
image: ghcr.io/project-chip/chip-build
29+
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
- name: Run checks
34+
run: |
35+
python3 scripts/tests/matter_yaml_linter.py

.github/workflows/chef.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
if: github.actor != 'restyled-io[bot]'
3636

3737
container:
38-
image: ghcr.io/project-chip/chip-build:47
38+
image: ghcr.io/project-chip/chip-build:50
3939
options: --user root
4040

4141
steps:
@@ -56,7 +56,7 @@ jobs:
5656
if: github.actor != 'restyled-io[bot]'
5757

5858
container:
59-
image: ghcr.io/project-chip/chip-build-esp32:47
59+
image: ghcr.io/project-chip/chip-build-esp32:50
6060
options: --user root
6161

6262
steps:
@@ -77,7 +77,7 @@ jobs:
7777
if: github.actor != 'restyled-io[bot]'
7878

7979
container:
80-
image: ghcr.io/project-chip/chip-build-nrf-platform:47
80+
image: ghcr.io/project-chip/chip-build-nrf-platform:50
8181
options: --user root
8282

8383
steps:
@@ -98,7 +98,7 @@ jobs:
9898
if: github.actor != 'restyled-io[bot]'
9999

100100
container:
101-
image: ghcr.io/project-chip/chip-build-telink:47
101+
image: ghcr.io/project-chip/chip-build-telink:50
102102
options: --user root
103103

104104
steps:

.github/workflows/cirque.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
# need to run with privilege, which isn't supported by job.XXX.contaner
4343
# https://github.com/actions/container-action/issues/2
4444
# container:
45-
# image: ghcr.io/project-chip/chip-build-cirque:47
45+
# image: ghcr.io/project-chip/chip-build-cirque:50
4646
# volumes:
4747
# - "/tmp:/tmp"
4848
# - "/dev/pts:/dev/pts"

.github/workflows/darwin.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ jobs:
8383
-enableUndefinedBehaviorSanitizer YES
8484
- flavor: tsan
8585
arguments: -enableThreadSanitizer YES
86+
# "leaks" does not seem to be very compatible with asan or tsan
87+
- flavor: leaks
88+
defines: ENABLE_LEAK_DETECTION=1
8689
steps:
8790
- name: Checkout
8891
uses: actions/checkout@v4

.github/workflows/doxygen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181

8282
runs-on: ubuntu-latest
8383
container:
84-
image: ghcr.io/project-chip/chip-build-doxygen:47
84+
image: ghcr.io/project-chip/chip-build-doxygen:50
8585

8686
if: github.actor != 'restyled-io[bot]'
8787

.github/workflows/examples-ameba.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
if: github.actor != 'restyled-io[bot]'
3939

4040
container:
41-
image: ghcr.io/project-chip/chip-build-ameba:47
41+
image: ghcr.io/project-chip/chip-build-ameba:50
4242
options: --user root
4343

4444
steps:

.github/workflows/examples-asr.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.actor != 'restyled-io[bot]'
3737

3838
container:
39-
image: ghcr.io/project-chip/chip-build-asr:47
39+
image: ghcr.io/project-chip/chip-build-asr:50
4040
options: --user root
4141

4242
steps:

.github/workflows/examples-bouffalolab.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
if: github.actor != 'restyled-io[bot]'
3838

3939
container:
40-
image: ghcr.io/project-chip/chip-build-bouffalolab:47
40+
image: ghcr.io/project-chip/chip-build-bouffalolab:50
4141
volumes:
4242
- "/tmp/bloat_reports:/tmp/bloat_reports"
4343
steps:

.github/workflows/examples-cc13xx_26xx.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
if: github.actor != 'restyled-io[bot]'
3939

4040
container:
41-
image: ghcr.io/project-chip/chip-build-ti:47
41+
image: ghcr.io/project-chip/chip-build-ti:50
4242
volumes:
4343
- "/tmp/bloat_reports:/tmp/bloat_reports"
4444
steps:

.github/workflows/examples-cc32xx.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
if: github.actor != 'restyled-io[bot]'
4040

4141
container:
42-
image: ghcr.io/project-chip/chip-build-ti:47
42+
image: ghcr.io/project-chip/chip-build-ti:50
4343
volumes:
4444
- "/tmp/bloat_reports:/tmp/bloat_reports"
4545
steps:

.github/workflows/examples-efr32.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
if: github.actor != 'restyled-io[bot]'
4141

4242
container:
43-
image: ghcr.io/project-chip/chip-build-efr32:49
43+
image: ghcr.io/project-chip/chip-build-efr32:50
4444
volumes:
4545
- "/tmp/bloat_reports:/tmp/bloat_reports"
4646
steps:

.github/workflows/examples-esp32.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.actor != 'restyled-io[bot]'
3737

3838
container:
39-
image: ghcr.io/project-chip/chip-build-esp32:47
39+
image: ghcr.io/project-chip/chip-build-esp32:50
4040
volumes:
4141
- "/tmp/bloat_reports:/tmp/bloat_reports"
4242

@@ -126,7 +126,7 @@ jobs:
126126
if: github.actor != 'restyled-io[bot]'
127127

128128
container:
129-
image: ghcr.io/project-chip/chip-build-esp32:47
129+
image: ghcr.io/project-chip/chip-build-esp32:50
130130
volumes:
131131
- "/tmp/bloat_reports:/tmp/bloat_reports"
132132

.github/workflows/examples-infineon.yaml

+91-17
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
if: github.actor != 'restyled-io[bot]'
3838

3939
container:
40-
image: ghcr.io/project-chip/chip-build-infineon:47
40+
image: ghcr.io/project-chip/chip-build-infineon:50
4141
volumes:
4242
- "/tmp/bloat_reports:/tmp/bloat_reports"
4343
steps:
@@ -107,41 +107,115 @@ jobs:
107107
out/artifacts/infineon-psoc6-light/chip-psoc6-lighting-example.out \
108108
/tmp/bloat_reports/
109109
110-
- name: Build example CYW30739 Apps
110+
- name: Build CYW30739 Lighting App
111111
run: |
112112
./scripts/run_in_build_env.sh \
113113
"./scripts/build/build_examples.py \
114-
--target cyw30739-cyw930739m2evb_01-light \
115-
--target cyw30739-cyw930739m2evb_01-lock \
116-
--target cyw30739-cyw930739m2evb_01-ota-requestor \
117-
--target cyw30739-cyw930739m2evb_01-switch \
114+
--target cyw30739-cyw30739b2_p5_evk_01-light \
115+
--target cyw30739-cyw30739b2_p5_evk_02-light \
116+
--target cyw30739-cyw30739b2_p5_evk_03-light \
117+
--target cyw30739-cyw930739m2evb_02-light \
118118
build \
119119
--copy-artifacts-to out/artifacts \
120120
"
121121
- name: Get light size stats
122122
run: |
123123
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
124-
cyw30739 cyw930739m2evb_01 light \
125-
out/artifacts/cyw30739-cyw930739m2evb_01-light/chip-cyw30739-lighting-example.elf \
124+
cyw30739 CYW30739B2-P5-EVK-01 light \
125+
out/artifacts/cyw30739-cyw30739b2_p5_evk_01-light/lighting_app-CYW30739B2-P5-EVK-01.elf \
126126
/tmp/bloat_reports/
127-
- name: Get lock size stats
127+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
128+
cyw30739 CYW30739B2-P5-EVK-02 light \
129+
out/artifacts/cyw30739-cyw30739b2_p5_evk_02-light/lighting_app-CYW30739B2-P5-EVK-02.elf \
130+
/tmp/bloat_reports/
131+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
132+
cyw30739 CYW30739B2-P5-EVK-03 light \
133+
out/artifacts/cyw30739-cyw30739b2_p5_evk_03-light/lighting_app-CYW30739B2-P5-EVK-03.elf \
134+
/tmp/bloat_reports/
135+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
136+
cyw30739 CYW930739M2EVB-02 light \
137+
out/artifacts/cyw30739-cyw930739m2evb_02-light/lighting_app-CYW930739M2EVB-02.elf \
138+
/tmp/bloat_reports/
139+
- name: Clean out build output
140+
run: rm -rf ./out
141+
- name: Build CYW30739 Light Switch App
128142
run: |
143+
./scripts/run_in_build_env.sh \
144+
"./scripts/build/build_examples.py \
145+
--target cyw30739-cyw30739b2_p5_evk_01-light-switch \
146+
--target cyw30739-cyw30739b2_p5_evk_02-light-switch \
147+
--target cyw30739-cyw30739b2_p5_evk_03-light-switch \
148+
build \
149+
--copy-artifacts-to out/artifacts \
150+
"
151+
- name: Get light-switch size stats
152+
run: |
153+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
154+
cyw30739 CYW30739B2-P5-EVK-01 light-switch \
155+
out/artifacts/cyw30739-cyw30739b2_p5_evk_01-light-switch/light_switch_app-CYW30739B2-P5-EVK-01.elf \
156+
/tmp/bloat_reports/
129157
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
130-
cyw30739 cyw930739m2evb_01 lock \
131-
out/artifacts/cyw30739-cyw930739m2evb_01-lock/chip-cyw30739-lock-example.elf \
158+
cyw30739 CYW30739B2-P5-EVK-02 light-switch \
159+
out/artifacts/cyw30739-cyw30739b2_p5_evk_02-light-switch/light_switch_app-CYW30739B2-P5-EVK-02.elf \
132160
/tmp/bloat_reports/
133-
- name: Get ota-requestor size stats
161+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
162+
cyw30739 CYW30739B2-P5-EVK-03 light-switch \
163+
out/artifacts/cyw30739-cyw30739b2_p5_evk_03-light-switch/light_switch_app-CYW30739B2-P5-EVK-03.elf \
164+
/tmp/bloat_reports/
165+
- name: Clean out build output
166+
run: rm -rf ./out
167+
- name: Build CYW30739 Lock App
168+
run: |
169+
./scripts/run_in_build_env.sh \
170+
"./scripts/build/build_examples.py \
171+
--target cyw30739-cyw30739b2_p5_evk_01-lock \
172+
--target cyw30739-cyw30739b2_p5_evk_02-lock \
173+
--target cyw30739-cyw30739b2_p5_evk_03-lock \
174+
build \
175+
--copy-artifacts-to out/artifacts \
176+
"
177+
- name: Get lock size stats
134178
run: |
135179
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
136-
cyw30739 cyw930739m2evb_01 ota-requestor \
137-
out/artifacts/cyw30739-cyw930739m2evb_01-ota-requestor/chip-cyw30739-ota-requestor-example.elf \
180+
cyw30739 CYW30739B2-P5-EVK-01 lock \
181+
out/artifacts/cyw30739-cyw30739b2_p5_evk_01-lock/lock_app-CYW30739B2-P5-EVK-01.elf \
138182
/tmp/bloat_reports/
139-
- name: Get switch size stats
183+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
184+
cyw30739 CYW30739B2-P5-EVK-02 lock \
185+
out/artifacts/cyw30739-cyw30739b2_p5_evk_02-lock/lock_app-CYW30739B2-P5-EVK-02.elf \
186+
/tmp/bloat_reports/
187+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
188+
cyw30739 CYW30739B2-P5-EVK-03 lock \
189+
out/artifacts/cyw30739-cyw30739b2_p5_evk_03-lock/lock_app-CYW30739B2-P5-EVK-03.elf \
190+
/tmp/bloat_reports/
191+
- name: Clean out build output
192+
run: rm -rf ./out
193+
- name: Build CYW30739 Thermostat App
140194
run: |
195+
./scripts/run_in_build_env.sh \
196+
"./scripts/build/build_examples.py \
197+
--target cyw30739-cyw30739b2_p5_evk_01-thermostat \
198+
--target cyw30739-cyw30739b2_p5_evk_02-thermostat \
199+
--target cyw30739-cyw30739b2_p5_evk_03-thermostat \
200+
build \
201+
--copy-artifacts-to out/artifacts \
202+
"
203+
- name: Get thermostat size stats
204+
run: |
205+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
206+
cyw30739 CYW30739B2-P5-EVK-01 thermostat \
207+
out/artifacts/cyw30739-cyw30739b2_p5_evk_01-thermostat/thermostat-CYW30739B2-P5-EVK-01.elf \
208+
/tmp/bloat_reports/
209+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
210+
cyw30739 CYW30739B2-P5-EVK-02 thermostat \
211+
out/artifacts/cyw30739-cyw30739b2_p5_evk_02-thermostat/thermostat-CYW30739B2-P5-EVK-02.elf \
212+
/tmp/bloat_reports/
141213
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
142-
cyw30739 cyw930739m2evb_01 switch \
143-
out/artifacts/cyw30739-cyw930739m2evb_01-switch/chip-cyw30739-light-switch-example.elf \
214+
cyw30739 CYW30739B2-P5-EVK-03 thermostat \
215+
out/artifacts/cyw30739-cyw30739b2_p5_evk_03-thermostat/thermostat-CYW30739B2-P5-EVK-03.elf \
144216
/tmp/bloat_reports/
217+
- name: Clean out build output
218+
run: rm -rf ./out
145219
- name: Uploading Size Reports
146220
uses: ./.github/actions/upload-size-reports
147221
if: ${{ !env.ACT }}

.github/workflows/examples-linux-arm.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.actor != 'restyled-io[bot]'
3737

3838
container:
39-
image: ghcr.io/project-chip/chip-build-crosscompile:47
39+
image: ghcr.io/project-chip/chip-build-crosscompile:50
4040
volumes:
4141
- "/tmp/bloat_reports:/tmp/bloat_reports"
4242

.github/workflows/examples-linux-imx.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.actor != 'restyled-io[bot]'
3737

3838
container:
39-
image: ghcr.io/project-chip/chip-build-imx:47
39+
image: ghcr.io/project-chip/chip-build-imx:50
4040

4141
steps:
4242
- name: Checkout

.github/workflows/examples-linux-standalone.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: github.actor != 'restyled-io[bot]'
3737

3838
container:
39-
image: ghcr.io/project-chip/chip-build:47
39+
image: ghcr.io/project-chip/chip-build:50
4040
volumes:
4141
- "/tmp/bloat_reports:/tmp/bloat_reports"
4242

0 commit comments

Comments
 (0)