|
28 | 28 | name: ESP32
|
29 | 29 | timeout-minutes: 85
|
30 | 30 |
|
31 |
| - env: |
32 |
| - BUILD_TYPE: esp32 |
33 |
| - |
34 | 31 | runs-on: ubuntu-latest
|
35 | 32 | if: github.actor != 'restyled-io[bot]'
|
36 | 33 |
|
@@ -62,29 +59,33 @@ jobs:
|
62 | 59 | path: |
|
63 | 60 | .environment/gn_out/.ninja_log
|
64 | 61 | .environment/pigweed-venv/*.log
|
65 |
| - - name: Build example All Clusters App |
66 |
| - timeout-minutes: 10 |
67 |
| - run: scripts/examples/esp_example.sh all-clusters-app sdkconfig_m5stack.defaults |
68 |
| - - name: Copy aside build products |
| 62 | + - name: Build some M5Stack variations |
| 63 | + timeout-minutes: 20 |
| 64 | + run: | |
| 65 | + ./scripts/run_in_build_env.sh \ |
| 66 | + "./scripts/build/build_examples.py \ |
| 67 | + --enable-flashbundle \ |
| 68 | + --target-glob '*-m5stack-{all-clusters,all-clusters-rpc-ipv6only}' \ |
| 69 | + build \ |
| 70 | + --copy-artifacts-to out/artifacts \ |
| 71 | + " |
| 72 | + - name: Prepare bloat report |
69 | 73 | run: |
|
70 |
| - mkdir -p example_binaries/$BUILD_TYPE-build |
71 |
| - cp examples/all-clusters-app/esp32/build/chip-all-clusters-app.elf \ |
72 |
| - example_binaries/$BUILD_TYPE-build/chip-all-clusters-app.elf |
73 | 74 | .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
|
74 | 75 | esp32 m5stack all-clusters-app \
|
75 |
| - example_binaries/$BUILD_TYPE-build/chip-all-clusters-app.elf \ |
| 76 | + out/esp32-m5stack-all-clusters/chip-all-clusters-app.elf \ |
76 | 77 | /tmp/bloat_reports/
|
77 | 78 | - name: Build example All Clusters App C3
|
78 | 79 | timeout-minutes: 10
|
79 | 80 | run: scripts/examples/esp_example.sh all-clusters-app sdkconfig_c3devkit.defaults
|
80 | 81 | - name: Copy aside build products
|
81 | 82 | run: |
|
82 |
| - mkdir -p example_binaries/$BUILD_TYPE-build |
| 83 | + mkdir -p example_binaries/esp32-build |
83 | 84 | cp examples/all-clusters-app/esp32/build/chip-all-clusters-app.elf \
|
84 |
| - example_binaries/$BUILD_TYPE-build/chip-all-clusters-app.elf |
| 85 | + example_binaries/esp32-build/chip-all-clusters-app.elf |
85 | 86 | .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
|
86 | 87 | esp32 c3devkit all-clusters-app \
|
87 |
| - example_binaries/$BUILD_TYPE-build/chip-all-clusters-app.elf \ |
| 88 | + example_binaries/esp32-build/chip-all-clusters-app.elf \ |
88 | 89 | /tmp/bloat_reports/
|
89 | 90 | - name: Build example Pigweed App
|
90 | 91 | timeout-minutes: 10
|
|
0 commit comments