|
53 | 53 | attempt_limit: 3
|
54 | 54 | attempt_delay: 2000
|
55 | 55 | - name: Checkout submodules
|
56 |
| - run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform cc13x2_26x2 |
| 56 | + run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform cc13xx_26xx |
57 | 57 | - name: Set up environment for size reports
|
58 | 58 | if: ${{ !env.ACT }}
|
59 | 59 | env:
|
|
79 | 79 | path: |
|
80 | 80 | .environment/gn_out/.ninja_log
|
81 | 81 | .environment/pigweed-venv/*.log
|
| 82 | + |
82 | 83 |
|
83 |
| - - name: Build examples |
84 |
| - timeout-minutes: 100 |
85 |
| - run: | |
86 |
| - scripts/run_in_build_env.sh "\ |
87 |
| - ./scripts/build/build_examples.py \ |
88 |
| - --target cc13x2x7_26x2x7-all-clusters-mtd \ |
89 |
| - --target cc13x2x7_26x2x7-all-clusters-minimal \ |
90 |
| - --target cc13x2x7_26x2x7-lock-ftd \ |
91 |
| - --target cc13x2x7_26x2x7-lock-mtd \ |
92 |
| - --target cc13x2x7_26x2x7-pump \ |
93 |
| - --target cc13x2x7_26x2x7-pump-controller \ |
94 |
| - --target cc13x2x7_26x2x7-shell \ |
95 |
| - build \ |
96 |
| - --copy-artifacts-to out/artifacts \ |
97 |
| - " |
98 |
| - - name: Get lock FTD size stats |
99 |
| - timeout-minutes: 5 |
100 |
| - run: | |
101 |
| - .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \ |
102 |
| - cc13x2_26x2 LP_CC2652R7 lock-ftd \ |
103 |
| - out/artifacts/cc13x2x7_26x2x7-lock-ftd/chip-LP_CC2652R7-lock-example.out \ |
104 |
| - /tmp/bloat_reports/ |
105 |
| - - name: Get lock MTD size stats |
106 |
| - timeout-minutes: 5 |
107 |
| - run: | |
108 |
| - .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \ |
109 |
| - cc13x2_26x2 LP_CC2652R7 lock-mtd \ |
110 |
| - out/artifacts/cc13x2x7_26x2x7-lock-mtd/chip-LP_CC2652R7-lock-example.out \ |
111 |
| - /tmp/bloat_reports/ |
112 |
| - - name: Get Pump App size stats |
113 |
| - timeout-minutes: 5 |
114 |
| - run: | |
115 |
| - .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \ |
116 |
| - cc13x2_26x2 LP_CC2652R7 pump-app \ |
117 |
| - out/artifacts/cc13x2x7_26x2x7-pump/chip-LP_CC2652R7-pump-example.out \ |
118 |
| - /tmp/bloat_reports/ |
119 |
| - - name: Get Pump Controller App size stats |
120 |
| - timeout-minutes: 5 |
121 |
| - run: | |
122 |
| - .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \ |
123 |
| - cc13x2_26x2 LP_CC2652R7 pump-controller-app \ |
124 |
| - out/artifacts/cc13x2x7_26x2x7-pump-controller/chip-LP_CC2652R7-pump-controller-example.out \ |
125 |
| - /tmp/bloat_reports/ |
126 |
| - - name: Get All Clusters App size stats |
127 |
| - timeout-minutes: 5 |
128 |
| - run: | |
129 |
| - .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \ |
130 |
| - cc13x2_26x2 LP_CC2652R7 all-clusters-app \ |
131 |
| - out/artifacts/cc13x2x7_26x2x7-all-clusters-mtd/chip-LP_CC2652R7-all-clusters-example.out \ |
132 |
| - /tmp/bloat_reports/ |
133 |
| - - name: Get All Clusters Minimal App size stats |
134 |
| - timeout-minutes: 5 |
135 |
| - run: | |
136 |
| - .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \ |
137 |
| - cc13x2_26x2 LP_CC2652R7 all-clusters-minimal-app \ |
138 |
| - out/artifacts/cc13x2x7_26x2x7-all-clusters-minimal/chip-LP_CC2652R7-all-clusters-minimal-example.out \ |
139 |
| - /tmp/bloat_reports/ |
140 |
| - - name: Get Shell App size stats |
141 |
| - timeout-minutes: 5 |
142 |
| - run: | |
143 |
| - .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \ |
144 |
| - cc13x2_26x2 LP_CC2652R7 shell \ |
145 |
| - out/artifacts/cc13x2x7_26x2x7-shell/chip-LP_CC2652R7-shell-example.out \ |
146 |
| - /tmp/bloat_reports/ |
147 |
| - - name: Uploading Size Reports |
148 |
| - uses: actions/upload-artifact@v3 |
149 |
| - if: ${{ !env.ACT }} |
150 |
| - with: |
151 |
| - name: Size,cc13x2x7_26x2x7-Examples,${{ env.GH_EVENT_PR }},${{ env.GH_EVENT_HASH }},${{ env.GH_EVENT_PARENT }},${{ github.event_name }} |
152 |
| - path: | |
153 |
| - /tmp/bloat_reports/ |
0 commit comments