|
37 | 37 | if: github.actor != 'restyled-io[bot]'
|
38 | 38 |
|
39 | 39 | container:
|
40 |
| - image: ghcr.io/project-chip/chip-build-infineon:47 |
| 40 | + image: ghcr.io/project-chip/chip-build-infineon:50 |
41 | 41 | volumes:
|
42 | 42 | - "/tmp/bloat_reports:/tmp/bloat_reports"
|
43 | 43 | steps:
|
@@ -107,41 +107,115 @@ jobs:
|
107 | 107 | out/artifacts/infineon-psoc6-light/chip-psoc6-lighting-example.out \
|
108 | 108 | /tmp/bloat_reports/
|
109 | 109 |
|
110 |
| - - name: Build example CYW30739 Apps |
| 110 | + - name: Build CYW30739 Lighting App |
111 | 111 | run: |
|
112 | 112 | ./scripts/run_in_build_env.sh \
|
113 | 113 | "./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 \ |
118 | 118 | build \
|
119 | 119 | --copy-artifacts-to out/artifacts \
|
120 | 120 | "
|
121 | 121 | - name: Get light size stats
|
122 | 122 | run: |
|
123 | 123 | .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 \ |
126 | 126 | /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 |
128 | 142 | 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/ |
129 | 157 | .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 \ |
132 | 160 | /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 |
134 | 178 | run: |
|
135 | 179 | .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 \ |
138 | 182 | /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 |
140 | 194 | 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/ |
141 | 213 | .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 \ |
144 | 216 | /tmp/bloat_reports/
|
| 217 | + - name: Clean out build output |
| 218 | + run: rm -rf ./out |
145 | 219 | - name: Uploading Size Reports
|
146 | 220 | uses: ./.github/actions/upload-size-reports
|
147 | 221 | if: ${{ !env.ACT }}
|
|
0 commit comments