|
73 | 73 | /tmp/bloat_reports/ |
74 | 74 |
|
75 | 75 | - name: Remove built artifacts for all-clusters |
76 | | - run: rm -rf out/esp32-c3devkit-all-clusters |
| 76 | + run: rm -rf out/esp32-c3devkit-all-clusters examples/all-clusters-app/esp32/managed_components |
77 | 77 |
|
78 | 78 | - name: Prepare code pregen and ensure compile time pregen not possible |
79 | 79 | run: | |
@@ -101,7 +101,7 @@ jobs: |
101 | 101 | mv scripts/tools/zap/generate.py.renamed scripts/tools/zap/generate.py |
102 | 102 |
|
103 | 103 | - name: Remove built artifacts for all-clusters-minimal |
104 | | - run: rm -rf out/esp32-m5stack-all-clusters-minimal |
| 104 | + run: rm -rf out/esp32-m5stack-all-clusters-minimal examples/all-clusters-minimal-app/esp32/managed_components |
105 | 105 |
|
106 | 106 | - name: Check for changed paths |
107 | 107 | uses: dorny/paths-filter@v3 |
@@ -139,21 +139,30 @@ jobs: |
139 | 139 | " |
140 | 140 |
|
141 | 141 | - name: Remove built artifacts for all-clusters-rpc-ipv6only |
142 | | - run: rm -rf out/esp32-devkitc-all-clusters-rpc-ipv6only |
| 142 | + run: rm -rf out/esp32-devkitc-all-clusters-rpc-ipv6only examples/all-clusters-app/esp32/managed_components |
143 | 143 |
|
144 | 144 | - name: Build example Lighting App (Target:ESP32C6) |
145 | | - run: scripts/examples/esp_example.sh lighting-app sdkconfig.wifi_thread.defaults esp32c6 |
| 145 | + run: | |
| 146 | + scripts/examples/esp_example.sh lighting-app sdkconfig.wifi_thread.defaults esp32c6 |
| 147 | + rm -rf examples/lighting-app/esp32/{build,managed_components} |
| 148 | + |
146 | 149 |
|
147 | 150 | - name: Build example Lighting App (external platform) |
148 | | - run: scripts/examples/esp_example.sh lighting-app sdkconfig.ext_plat.defaults |
| 151 | + run: | |
| 152 | + scripts/examples/esp_example.sh lighting-app sdkconfig.ext_plat.defaults |
| 153 | + rm -rf examples/lighting-app/esp32/{build,managed_components} |
149 | 154 |
|
150 | 155 | - name: Build example Energy Gateway App |
151 | 156 | if: steps.changed_paths.outputs.energy_gateway == 'true' |
152 | | - run: scripts/examples/esp_example.sh energy-gateway-app sdkconfig.defaults |
| 157 | + run: | |
| 158 | + scripts/examples/esp_example.sh energy-gateway-app sdkconfig.defaults |
| 159 | + rm -rf examples/energy-gateway-app/esp32/{build,managed_components} |
153 | 160 |
|
154 | 161 | - name: Build example Energy Management App |
155 | 162 | if: steps.changed_paths.outputs.energy_management == 'true' |
156 | | - run: scripts/examples/esp_example.sh energy-management-app sdkconfig.defaults |
| 163 | + run: | |
| 164 | + scripts/examples/esp_example.sh energy-management-app sdkconfig.defaults |
| 165 | + rm -rf examples/energy-management-app/esp32/{build,managed_components} |
157 | 166 |
|
158 | 167 | - name: Uploading Size Reports |
159 | 168 | uses: ./.github/actions/upload-size-reports |
|
0 commit comments