Skip to content

Commit 54aa77f

Browse files
authored
[NXP][CI] Limiting FreeRTOS build instances to improve CI build efficiency (project-chip#41697)
Signed-off-by: Gatien Chapon <[email protected]>
1 parent c923288 commit 54aa77f

File tree

1 file changed

+2
-51
lines changed

1 file changed

+2
-51
lines changed

.github/workflows/examples-nxp.yaml

Lines changed: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ jobs:
7474
scripts/run_in_build_env.sh "\
7575
./scripts/build/build_examples.py \
7676
--target nxp-mcxw71-freertos-contact-sensor-thread-mtd-low-power-cmake-frdm \
77-
--target nxp-mcxw71-freertos-lighting-thread-cmake-frdm \
78-
--target nxp-mcxw71-freertos-lock-app-thread-mtd-low-power-cmake-frdm \
79-
--target nxp-mcxw71-freertos-contact-sensor-low-power \
8077
build \
8178
"
8279
- name: Get MCXW71 contact sensor size stats
@@ -85,69 +82,36 @@ jobs:
8582
nxp mcxw71+release contact \
8683
out/nxp-mcxw71-freertos-contact-sensor-thread-mtd-low-power-cmake-frdm/app.elf \
8784
/tmp/bloat_reports/
88-
- name: Get MCXW71 lighting app size stats
89-
run: |
90-
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
91-
nxp mcxw71+release lighting \
92-
out/nxp-mcxw71-freertos-lighting-thread-cmake-frdm/app.elf \
93-
/tmp/bloat_reports/
94-
- name: Get MCXW71 lock app size stats
95-
run: |
96-
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
97-
nxp mcxw71+release lock \
98-
out/nxp-mcxw71-freertos-lock-app-thread-mtd-low-power-cmake-frdm/app.elf \
99-
/tmp/bloat_reports/
10085
10186
- name: Build MCXW72 examples
10287
run: |
10388
scripts/run_in_build_env.sh "\
10489
./scripts/build/build_examples.py \
10590
--target nxp-mcxw72-freertos-contact-sensor-thread-mtd-low-power-cmake-frdm \
106-
--target nxp-mcxw72-freertos-lighting-thread-cmake-frdm \
107-
--target nxp-mcxw72-freertos-lock-app-thread-mtd-low-power-cmake-frdm \
108-
--target nxp-mcxw72-freertos-contact-sensor-ota-low-power \
10991
build \
11092
"
11193
11294
- name: clean build
11395
run: rm -rf ./out
11496

115-
- name: Build RT1060 all clusters example app
116-
run: |
117-
scripts/run_in_build_env.sh "\
118-
./scripts/build/build_examples.py \
119-
--target nxp-rt1060-freertos-all-clusters-wifi-iw416-cmake \
120-
--target nxp-rt1060-freertos-all-clusters-wifi-w8801-no-ble-cmake \
121-
--target nxp-rt1060-freertos-all-clusters-wifi-ota-evkc-iwx12-cmake \
122-
build \
123-
"
12497
- name: Build RT1060 thermostat example app
12598
if:
12699
github.event_name == 'push' || steps.changed_paths.outputs.nxp
127100
== 'true' || steps.changed_paths.outputs.pigweed == 'true'
128101
run: |
129102
scripts/run_in_build_env.sh "\
130103
./scripts/build/build_examples.py \
131-
--target nxp-rt1060-freertos-thermostat-wifi-evkc-iw610-cmake \
132104
--target nxp-rt1060-freertos-thermostat-thread-wifi-ota-evkc-iwx12-cmake \
133105
build \
134106
"
135107
136108
- name: clean build
137109
run: rm -rf ./out
138110

139-
- name: Build RT1170 all clusters example app
111+
- name: Build RT1170 thermostat example app
140112
if:
141113
github.event_name == 'push' || steps.changed_paths.outputs.nxp
142114
== 'true' || steps.changed_paths.outputs.pigweed == 'true'
143-
run: |
144-
scripts/run_in_build_env.sh "\
145-
./scripts/build/build_examples.py \
146-
--target nxp-rt1170-freertos-all-clusters-wifi-iwx12-cmake \
147-
--target nxp-rt1170-freertos-all-clusters-wifi-ota-iwx12-cmake \
148-
build \
149-
"
150-
- name: Build RT1170 thermostat example app
151115
run: |
152116
scripts/run_in_build_env.sh "\
153117
./scripts/build/build_examples.py \
@@ -158,18 +122,12 @@ jobs:
158122
- name: clean build
159123
run: rm -rf ./out
160124

161-
- name: Build RW61X all clusters example app
162-
run: |
163-
scripts/run_in_build_env.sh "\
164-
./scripts/build/build_examples.py \
165-
--target nxp-rw61x-freertos-all-clusters-wifi-ota-se05x-cmake \
166-
build \
167-
"
168125
- name: Build RW61X thermostat OTBR example app
169126
run: |
170127
scripts/run_in_build_env.sh "\
171128
./scripts/build/build_examples.py \
172129
--target nxp-rw61x-freertos-thermostat-thread-wifi-ota-factory-cmake \
130+
--target nxp-rw61x-freertos-thermostat-wifi-se05x-cmake \
173131
build \
174132
"
175133
- name: Build RW61X thermostat ethernet example app
@@ -179,13 +137,6 @@ jobs:
179137
--target nxp-rw61x-freertos-thermostat-ethernet-cmake-frdm \
180138
build \
181139
"
182-
- name: Build RW61X unit test example app
183-
run: |
184-
scripts/run_in_build_env.sh "\
185-
./scripts/build/build_examples.py \
186-
--target nxp-rw61x-freertos-unit-test-cmake-frdm \
187-
build \
188-
"
189140
190141
- name: clean build
191142
run: rm -rf ./out

0 commit comments

Comments
 (0)