29
29
CHIP_NO_LOG_TIMESTAMPS : true
30
30
31
31
jobs :
32
- k32w :
33
- name : K32W
32
+ k32w0 :
33
+ name : K32W0
34
34
35
35
env :
36
36
BUILD_TYPE : gn_k32w
39
39
if : github.actor != 'restyled-io[bot]'
40
40
41
41
container :
42
- image : ghcr.io/project-chip/chip-build-k32w:70
42
+ image : ghcr.io/project-chip/chip-build-k32w:71
43
43
volumes :
44
44
- " /tmp/bloat_reports:/tmp/bloat_reports"
45
45
steps :
66
66
--target nxp-k32w0-freertos-contact-sensor \
67
67
--target nxp-k32w0-freertos-contact-sensor-low-power \
68
68
--target nxp-k32w0-freertos-contact-sensor-low-power-factory \
69
- --target nxp-k32w1-freertos-lighting \
70
- --target nxp-k32w1-freertos-contact-sensor-low-power \
71
69
build \
72
70
--copy-artifacts-to out/artifacts \
73
71
"
@@ -77,16 +75,62 @@ jobs:
77
75
nxp k32w0+release light \
78
76
out/artifacts/nxp-k32w0-freertos-lighting/chip-k32w0x-light-example.elf \
79
77
/tmp/bloat_reports/
80
- .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
81
- nxp k32w1+release light \
82
- out/artifacts/nxp-k32w1-freertos-lighting/chip-k32w1-light-example.elf \
83
- /tmp/bloat_reports/
84
78
- name : Get contact sensor size stats
85
79
run : |
86
80
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
87
81
nxp k32w0+release contact \
88
82
out/artifacts/nxp-k32w0-freertos-contact-sensor-low-power/chip-k32w0x-contact-example.elf \
89
83
/tmp/bloat_reports/
84
+ - name : Uploading Size Reports
85
+ uses : ./.github/actions/upload-size-reports
86
+ if : ${{ !env.ACT }}
87
+ with :
88
+ platform-name : K32W
89
+ k32w1 :
90
+ name : K32W1
91
+
92
+ env :
93
+ BUILD_TYPE : gn_k32w
94
+
95
+ runs-on : ubuntu-latest
96
+ if : github.actor != 'restyled-io[bot]'
97
+
98
+ container :
99
+ image : ghcr.io/project-chip/chip-build-nxp:71
100
+ volumes :
101
+ - " /tmp/bloat_reports:/tmp/bloat_reports"
102
+ steps :
103
+ - name : Checkout
104
+ uses : actions/checkout@v4
105
+ - name : Checkout submodules & Bootstrap
106
+ uses : ./.github/actions/checkout-submodules-and-bootstrap
107
+ with :
108
+ platform : nxp
109
+ extra-submodule-parameters : --recursive
110
+
111
+ - name : Set up environment for size reports
112
+ uses : ./.github/actions/setup-size-reports
113
+ if : ${{ !env.ACT }}
114
+ with :
115
+ gh-context : ${{ toJson(github) }}
116
+
117
+ - name : Build examples
118
+ run : |
119
+ scripts/run_in_build_env.sh "\
120
+ ./scripts/build/build_examples.py \
121
+ --target nxp-k32w1-freertos-lighting \
122
+ --target nxp-k32w1-freertos-contact-sensor-low-power \
123
+ build \
124
+ --copy-artifacts-to out/artifacts \
125
+ "
126
+ - name : Get lighting app size stats
127
+ run : |
128
+ .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
129
+ nxp k32w1+release light \
130
+ out/artifacts/nxp-k32w1-freertos-lighting/chip-k32w1-light-example.elf \
131
+ /tmp/bloat_reports/
132
+ - name : Get contact sensor size stats
133
+ run : |
90
134
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
91
135
nxp k32w1+release contact \
92
136
out/artifacts/nxp-k32w1-freertos-contact-sensor-low-power/chip-k32w1-contact-example.elf \
0 commit comments