30
30
CHIP_NO_LOG_TIMESTAMPS : true
31
31
32
32
jobs :
33
- FreeRTOS :
34
- name : FREERTOS
33
+ k32w0 :
34
+ name : K32W0
35
35
36
36
env :
37
- BUILD_TYPE : gn_FreeRTOS
37
+ BUILD_TYPE : gn_k32w
38
38
39
39
runs-on : ubuntu-latest
40
40
if : github.actor != 'restyled-io[bot]'
41
41
42
42
container :
43
- image : ghcr.io/project-chip/chip-build-nxp:81
43
+ image : ghcr.io/project-chip/chip-build-nxp:80
44
44
volumes :
45
45
- " /tmp/bloat_reports:/tmp/bloat_reports"
46
46
steps :
@@ -50,189 +50,229 @@ jobs:
50
50
uses : ./.github/actions/checkout-submodules-and-bootstrap
51
51
with :
52
52
platform : nxp
53
- extra-submodule-parameters : --recursive
54
-
55
- - name : Detect changed paths
56
- uses : dorny/paths-filter@v3
57
- id : changed_paths
58
- with :
59
- filters : |
60
- nxp:
61
- - '**/nxp/**'
62
53
63
54
- name : Set up environment for size reports
64
55
uses : ./.github/actions/setup-size-reports
65
56
if : ${{ !env.ACT }}
66
57
with :
67
58
gh-context : ${{ toJson(github) }}
68
59
69
- - name : Build K32W0 examples
60
+ - name : Build examples
70
61
run : |
71
62
scripts/run_in_build_env.sh "\
72
63
./scripts/build/build_examples.py \
64
+ --target nxp-k32w0-freertos-lighting \
73
65
--target nxp-k32w0-freertos-lighting-factory \
66
+ --target nxp-k32w0-freertos-lighting-rotating-id \
67
+ --target nxp-k32w0-freertos-contact-sensor \
68
+ --target nxp-k32w0-freertos-contact-sensor-low-power \
74
69
--target nxp-k32w0-freertos-contact-sensor-low-power-factory \
75
70
build \
76
71
--copy-artifacts-to out/artifacts \
77
72
"
78
- - name : Get K32W0 lighting app size stats
73
+ - name : Get lighting app size stats
79
74
run : |
80
75
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
81
76
nxp k32w0+release light \
82
- out/artifacts/nxp-k32w0-freertos-lighting-factory /chip-k32w0x-light-example.elf \
77
+ out/artifacts/nxp-k32w0-freertos-lighting/chip-k32w0x-light-example.elf \
83
78
/tmp/bloat_reports/
84
- - name : Get K32W0 contact sensor size stats
79
+ - name : Get contact sensor size stats
85
80
run : |
86
81
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
87
82
nxp k32w0+release contact \
88
- out/artifacts/nxp-k32w0-freertos-contact-sensor-low-power-factory /chip-k32w0x-contact-example.elf \
83
+ out/artifacts/nxp-k32w0-freertos-contact-sensor-low-power/chip-k32w0x-contact-example.elf \
89
84
/tmp/bloat_reports/
85
+ - name : Uploading Size Reports
86
+ uses : ./.github/actions/upload-size-reports
87
+ if : ${{ !env.ACT }}
88
+ with :
89
+ platform-name : K32W0
90
+ k32w1 :
91
+ name : K32W1
92
+
93
+ env :
94
+ BUILD_TYPE : gn_k32w
95
+
96
+ runs-on : ubuntu-latest
97
+ if : github.actor != 'restyled-io[bot]'
98
+
99
+ container :
100
+ image : ghcr.io/project-chip/chip-build-nxp:81
101
+ volumes :
102
+ - " /tmp/bloat_reports:/tmp/bloat_reports"
103
+ steps :
104
+ - name : Checkout
105
+ uses : actions/checkout@v4
106
+ - name : Checkout submodules & Bootstrap
107
+ uses : ./.github/actions/checkout-submodules-and-bootstrap
108
+ with :
109
+ platform : nxp
110
+ extra-submodule-parameters : --recursive
90
111
91
- - name : clean build
92
- run : rm -rf ./out
112
+ - name : Set up environment for size reports
113
+ uses : ./.github/actions/setup-size-reports
114
+ if : ${{ !env.ACT }}
115
+ with :
116
+ gh-context : ${{ toJson(github) }}
93
117
94
- - name : Build K32W1 examples
118
+ - name : Build examples
95
119
run : |
96
120
scripts/run_in_build_env.sh "\
97
121
./scripts/build/build_examples.py \
98
122
--target nxp-k32w1-freertos-lighting \
123
+ --target nxp-k32w1-freertos-contact-sensor-low-power \
124
+ --target nxp-k32w1-freertos-lock-app \
99
125
build \
100
126
--copy-artifacts-to out/artifacts \
101
127
"
102
- - name : Get K32W1 lighting app size stats
128
+ - name : Get lighting app size stats
103
129
run : |
104
130
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
105
131
nxp k32w1+release light \
106
132
out/artifacts/nxp-k32w1-freertos-lighting/chip-k32w1-light-example.elf \
107
133
/tmp/bloat_reports/
134
+ - name : Get contact sensor size stats
135
+ run : |
136
+ .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
137
+ nxp k32w1+release contact \
138
+ out/artifacts/nxp-k32w1-freertos-contact-sensor-low-power/chip-k32w1-contact-example.elf \
139
+ /tmp/bloat_reports/
140
+ - name : Get lock app size stats
141
+ run : |
142
+ .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
143
+ nxp k32w1+release lock \
144
+ out/artifacts/nxp-k32w1-freertos-lock-app/chip-k32w1-lock-example.elf \
145
+ /tmp/bloat_reports/
146
+ - name : Uploading Size Reports
147
+ uses : ./.github/actions/upload-size-reports
148
+ if : ${{ !env.ACT }}
149
+ with :
150
+ platform-name : K32W1
151
+ mcxw71 :
152
+ name : MCXW71
108
153
109
- - name : clean build
110
- run : rm -rf ./out
154
+ env :
155
+ BUILD_TYPE : gn_k32w
111
156
112
- - name : Build MCXW71 examples
157
+ runs-on : ubuntu-latest
158
+ if : github.actor != 'restyled-io[bot]'
159
+
160
+ container :
161
+ image : ghcr.io/project-chip/chip-build-nxp:81
162
+ volumes :
163
+ - " /tmp/bloat_reports:/tmp/bloat_reports"
164
+ steps :
165
+ - name : Checkout
166
+ uses : actions/checkout@v4
167
+ - name : Checkout submodules & Bootstrap
168
+ uses : ./.github/actions/checkout-submodules-and-bootstrap
169
+ with :
170
+ platform : nxp
171
+ extra-submodule-parameters : --recursive
172
+
173
+ - name : Set up environment for size reports
174
+ uses : ./.github/actions/setup-size-reports
175
+ if : ${{ !env.ACT }}
176
+ with :
177
+ gh-context : ${{ toJson(github) }}
178
+
179
+ - name : Build examples
113
180
run : |
114
181
scripts/run_in_build_env.sh "\
115
182
./scripts/build/build_examples.py \
183
+ --target nxp-mcxw71-freertos-lighting \
116
184
--target nxp-mcxw71-freertos-contact-sensor-low-power \
117
185
--target nxp-mcxw71-freertos-lock-app \
118
186
build \
119
187
--copy-artifacts-to out/artifacts \
120
188
"
121
- - name : Get MCXW71 contact sensor size stats
189
+ - name : Get lighting app size stats
190
+ run : |
191
+ .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
192
+ nxp mcxw71+release light \
193
+ out/artifacts/nxp-mcxw71-freertos-lighting/chip-mcxw71-light-example.elf \
194
+ /tmp/bloat_reports/
195
+ - name : Get contact sensor size stats
122
196
run : |
123
197
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
124
198
nxp mcxw71+release contact \
125
199
out/artifacts/nxp-mcxw71-freertos-contact-sensor-low-power/chip-mcxw71-contact-example.elf \
126
200
/tmp/bloat_reports/
127
- - name : Get MCXW71 lock app size stats
201
+ - name : Get lock app size stats
128
202
run : |
129
203
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
130
204
nxp mcxw71+release lock \
131
205
out/artifacts/nxp-mcxw71-freertos-lock-app/chip-mcxw71-lock-example.elf \
132
206
/tmp/bloat_reports/
207
+ - name : Uploading Size Reports
208
+ uses : ./.github/actions/upload-size-reports
209
+ if : ${{ !env.ACT }}
210
+ with :
211
+ platform-name : MCXW71
212
+ rw61x :
213
+ name : RW61X
133
214
134
- - name : clean build
135
- run : rm -rf ./out
136
-
137
- - name : Build RT1060 all clusters example app
138
- run : |
139
- scripts/run_in_build_env.sh "\
140
- ./scripts/build/build_examples.py \
141
- --target nxp-rt1060-freertos-all-clusters-wifi-iw416 \
142
- --target nxp-rt1060-freertos-all-clusters-wifi-w8801 \
143
- --target nxp-rt1060-freertos-all-clusters-wifi-ota-evkc-iwx12 \
144
- build \
145
- --copy-artifacts-to out/artifacts \
146
- "
147
- - name : Build RT1060 thermostat example app
148
- if : github.event_name == 'push' || steps.changed_paths.outputs.nxp == 'true'
149
- run : |
150
- scripts/run_in_build_env.sh "\
151
- ./scripts/build/build_examples.py \
152
- --target nxp-rt1060-freertos-thermostat-thread-wifi-evkc-iwx12 \
153
- build \
154
- --copy-artifacts-to out/artifacts \
155
- "
156
- - name : Build RT1060 laundry-washer example app
157
- if : github.event_name == 'push' || steps.changed_paths.outputs.nxp == 'true'
158
- run : |
159
- scripts/run_in_build_env.sh "\
160
- ./scripts/build/build_examples.py \
161
- --target nxp-rt1060-freertos-laundry-washer-wifi-evkc-iwx12 \
162
- --target nxp-rt1060-freertos-laundry-washer-thread-evkc-iwx12 \
163
- build \
164
- --copy-artifacts-to out/artifacts \
165
- "
215
+ env :
216
+ BUILD_TYPE : gn_rw61x
166
217
167
- - name : clean build
168
- run : rm -rf ./out
218
+ runs-on : ubuntu-latest
219
+ if : github.actor != 'restyled-io[bot]'
169
220
170
- - name : Build RT1170 all clusters example app
171
- if : github.event_name == 'push' || steps.changed_paths.outputs.nxp == 'true'
172
- run : |
173
- scripts/run_in_build_env.sh "\
174
- ./scripts/build/build_examples.py \
175
- --target nxp-rt1170-freertos-all-clusters-wifi-iwx12 \
176
- --target nxp-rt1170-freertos-all-clusters-wifi-ota-iwx12 \
177
- build \
178
- --copy-artifacts-to out/artifacts \
179
- "
180
- - name : Build RT1170 thermostat example app
181
- run : |
182
- scripts/run_in_build_env.sh "\
183
- ./scripts/build/build_examples.py \
184
- --target nxp-rt1170-freertos-thermostat-thread-wifi-iwx12 \
185
- build \
186
- --copy-artifacts-to out/artifacts \
187
- "
188
- - name : Build RT1170 laundry-washer example app
189
- if : github.event_name == 'push' || steps.changed_paths.outputs.nxp == 'true'
190
- run : |
191
- scripts/run_in_build_env.sh "\
192
- ./scripts/build/build_examples.py \
193
- --target nxp-rt1170-freertos-laundry-washer-thread-iwx12 \
194
- build \
195
- --copy-artifacts-to out/artifacts \
196
- "
221
+ container :
222
+ image : ghcr.io/project-chip/chip-build-nxp:81
223
+ volumes :
224
+ - " /tmp/bloat_reports:/tmp/bloat_reports"
225
+ steps :
226
+ - name : Checkout
227
+ uses : actions/checkout@v4
228
+ - name : Checkout submodules & Bootstrap
229
+ uses : ./.github/actions/checkout-submodules-and-bootstrap
230
+ with :
231
+ platform : nxp
232
+ extra-submodule-parameters : --recursive
197
233
198
- - name : clean build
199
- run : rm -rf ./out
234
+ - name : Set up environment for size reports
235
+ uses : ./.github/actions/setup-size-reports
236
+ if : ${{ !env.ACT }}
237
+ with :
238
+ gh-context : ${{ toJson(github) }}
200
239
201
240
- name : Build RW61X all clusters example app
202
241
run : |
203
242
scripts/run_in_build_env.sh "\
204
243
./scripts/build/build_examples.py \
205
244
--target nxp-rw61x-freertos-all-clusters-wifi \
245
+ --target nxp-rw61x-freertos-all-clusters-thread \
206
246
--target nxp-rw61x-freertos-all-clusters-wifi-ota-cmake \
207
247
build \
208
248
--copy-artifacts-to out/artifacts \
209
249
"
250
+
210
251
- name : Build RW61X thermostat example app
211
252
run : |
212
253
scripts/run_in_build_env.sh "\
213
254
./scripts/build/build_examples.py \
255
+ --target nxp-rw61x-freertos-thermostat-wifi \
256
+ --target nxp-rw61x-freertos-thermostat-thread \
214
257
--target nxp-rw61x-freertos-thermostat-thread-wifi \
215
258
build \
216
259
--copy-artifacts-to out/artifacts \
217
260
"
261
+
218
262
- name : Build RW61X laundry-washer example app
219
- if : github.event_name == 'push' || steps.changed_paths.outputs.nxp == 'true'
220
263
run : |
221
264
scripts/run_in_build_env.sh "\
222
265
./scripts/build/build_examples.py \
223
266
--target nxp-rw61x-freertos-laundry-washer-wifi \
267
+ --target nxp-rw61x-freertos-laundry-washer-thread \
224
268
build \
225
269
--copy-artifacts-to out/artifacts \
226
270
"
227
-
228
- - name : clean build
229
- run : rm -rf ./out
230
-
231
271
- name : Uploading Size Reports
232
272
uses : ./.github/actions/upload-size-reports
233
273
if : ${{ !env.ACT }}
234
274
with :
235
- platform-name : NXP-FREERTOS
275
+ platform-name : RW61X
236
276
zephyr :
237
277
name : ZEPHYR
238
278
@@ -249,15 +289,8 @@ jobs:
249
289
uses : ./.github/actions/checkout-submodules-and-bootstrap
250
290
with :
251
291
platform : nxp
252
- - name : Detect changed paths
253
- uses : dorny/paths-filter@v3
254
- id : changed_paths
255
- with :
256
- filters : |
257
- nxp:
258
- - '**/nxp/**'
292
+
259
293
- name : Build NXP Zephyr examples
260
- if : github.event_name == 'push' || steps.changed_paths.outputs.nxp == 'true'
261
294
run : |
262
295
scripts/run_in_build_env.sh "\
263
296
./scripts/build/build_examples.py \
0 commit comments