12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- name : Build example - Bouffalolab BL702
15
+ name : Build example - BouffaloLab
16
16
17
17
on :
18
18
push :
@@ -23,6 +23,62 @@ concurrency:
23
23
cancel-in-progress : true
24
24
25
25
jobs :
26
+ bl602 :
27
+ name : BL602
28
+ timeout-minutes : 90
29
+
30
+ runs-on : ubuntu-latest
31
+ if : github.actor != 'restyled-io[bot]'
32
+
33
+ container :
34
+ image : connectedhomeip/chip-build:latest
35
+ volumes :
36
+ - " /tmp/bloat_reports:/tmp/bloat_reports"
37
+ steps :
38
+ - uses : Wandalen/wretry.action@v1.0.15
39
+ name : Checkout
40
+ with :
41
+ action : actions/checkout@v3
42
+ with : |
43
+ token: ${{ github.token }}
44
+ attempt_limit : 3
45
+ attempt_delay : 2000
46
+ - name : Checkout submodules
47
+ run : scripts/checkout_submodules.py --shallow --platform bl602
48
+
49
+ - name : Set up environment for size reports
50
+ if : ${{ !env.ACT }}
51
+ env :
52
+ GH_CONTEXT : ${{ toJson(github) }}
53
+ run : scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}"
54
+
55
+ - name : Build example BL602 Lighting App
56
+ timeout-minutes : 30
57
+ run : |
58
+ ./scripts/run_in_build_env.sh \
59
+ "./scripts/build/build_examples.py --target bouffalolab-bl602-iot-matter-v1-light build"
60
+
61
+ - name : Get Lighting size stats
62
+ run : |
63
+ .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py bl602 bl602 lighting-app \
64
+ out/bouffalolab-bl602-iot-matter-v1-light/chip-bl602-lighting-example.out /tmp/bloat_reports/
65
+
66
+ - name : Build example BL602 Lighting App with RPCs
67
+ timeout-minutes : 30
68
+ run : |
69
+ ./scripts/run_in_build_env.sh \
70
+ "./scripts/build/build_examples.py --target bouffalolab-bl602-iot-matter-v1-light-115200-rpc build"
71
+ .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py bl602 bl602+rpc lighting-app \
72
+ out/bouffalolab-bl602-iot-matter-v1-light-115200-rpc/chip-bl602-lighting-example.out /tmp/bloat_reports/
73
+
74
+ - name : Uploading Size Reports
75
+ uses : actions/upload-artifact@v2
76
+ if : ${{ !env.ACT }}
77
+ with :
78
+ name : Size,BL602-Examples,${{ env.GH_EVENT_PR }},${{ env.GH_EVENT_HASH }},${{ env.GH_EVENT_PARENT }},${{ github.event_name }}
79
+ path : |
80
+ /tmp/bloat_reports/
81
+
26
82
bl702 :
27
83
name : BL702
28
84
timeout-minutes : 90
@@ -52,21 +108,22 @@ jobs:
52
108
GH_CONTEXT : ${{ toJson(github) }}
53
109
run : scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}"
54
110
111
+
55
112
- name : Build example BL702 Lighting App
56
113
timeout-minutes : 30
57
114
run : |
58
115
./scripts/run_in_build_env.sh \
59
- "./scripts/build/build_examples.py --target bouffalolab-bl706-iot-dvk -light build"
116
+ "./scripts/build/build_examples.py --target bouffalolab-xt-zb6-devkit -light build"
60
117
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py bl702 bl702 lighting-app \
61
- out/bouffalolab-bl706-iot-dvk -light/chip-bl702-lighting-example.out /tmp/bloat_reports/
118
+ out/bouffalolab-xt-zb6-devkit -light/chip-bl702-lighting-example.out /tmp/bloat_reports/
62
119
63
120
- name : Build example BL702 Lighting App with RPCs
64
121
timeout-minutes : 30
65
122
run : |
66
123
./scripts/run_in_build_env.sh \
67
- "./scripts/build/build_examples.py --target bouffalolab-bl706-iot-dvk -light-rpc build"
124
+ "./scripts/build/build_examples.py --target bouffalolab-xt-zb6-devkit -light-115200 -rpc build"
68
125
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py bl702 bl702+rpc lighting-app \
69
- out/bouffalolab-bl706-iot-dvk -light-rpc/chip-bl702-lighting-example.out /tmp/bloat_reports/
126
+ out/bouffalolab-xt-zb6-devkit -light-115200 -rpc/chip-bl702-lighting-example.out /tmp/bloat_reports/
70
127
71
128
- name : Uploading Size Reports
72
129
uses : actions/upload-artifact@v2
0 commit comments