12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- name : Build example - Infineon P6
15
+ name : Build example - Infineon
16
16
17
17
on :
18
18
push :
33
33
34
34
container :
35
35
image : connectedhomeip/chip-build-infineon:0.5.91
36
-
36
+ volumes :
37
+ - " /tmp/bloat_reports:/tmp/bloat_reports"
37
38
steps :
38
39
-
uses :
Wandalen/[email protected]
39
40
name : Checkout
44
45
attempt_limit : 3
45
46
attempt_delay : 2000
46
47
- name : Checkout submodules
47
- run : scripts/checkout_submodules.py --shallow --platform p6
48
+ run : scripts/checkout_submodules.py --shallow --platform infineon
48
49
49
50
- name : Set up environment for size reports
50
51
if : ${{ !env.ACT }}
@@ -63,65 +64,97 @@ jobs:
63
64
path : |
64
65
.environment/gn_out/.ninja_log
65
66
.environment/pigweed-venv/*.log
66
- - name : Build lock-app example
67
+ - name : Build PSoC6 lock-app example
67
68
timeout-minutes : 15
68
69
run : |
69
70
scripts/run_in_build_env.sh \
70
71
"scripts/build/build_examples.py \
71
72
--enable-flashbundle --no-log-timestamps \
72
- --target infineon-p6 -lock \
73
+ --target infineon-psoc6 -lock \
73
74
build \
74
75
--copy-artifacts-to out/artifacts \
75
76
"
76
77
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
77
- p6 default lock-app \
78
- out/infineon-p6-lock/chip-p6-lock-example.out
79
- - name : Build all-clusters-app example
78
+ psoc6 cy8ckit_062s2_43012 lock \
79
+ out/artifacts/infineon-psoc6-lock/chip-psoc6-lock-example.out \
80
+ /tmp/bloat_reports/
81
+ - name : Build PSoC6 all-clusters-app example
80
82
timeout-minutes : 20
81
83
run : |
82
84
scripts/run_in_build_env.sh \
83
85
"scripts/build/build_examples.py \
84
86
--enable-flashbundle --no-log-timestamps \
85
- --target infineon-p6 -all-clusters \
87
+ --target infineon-psoc6 -all-clusters \
86
88
build \
87
89
--copy-artifacts-to out/artifacts \
88
90
"
89
91
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
90
- p6 default all-clusters-app \
91
- out/infineon-p6-all-clusters/chip-p6-clusters-example.out
92
- - name : Build all-clusters-minimal-app example
92
+ psoc6 cy8ckit_062s2_43012 all-clusters \
93
+ out/artifacts/infineon-psoc6-all-clusters/chip-psoc6-clusters-example.out \
94
+ /tmp/bloat_reports/
95
+ - name : Build PSoC6 all-clusters-minimal-app example
93
96
timeout-minutes : 20
94
97
run : |
95
98
scripts/run_in_build_env.sh \
96
99
"scripts/build/build_examples.py \
97
100
--enable-flashbundle --no-log-timestamps \
98
- --target infineon-p6 -all-clusters-minimal \
101
+ --target infineon-psoc6 -all-clusters-minimal \
99
102
build \
100
103
--copy-artifacts-to out/artifacts \
101
104
"
102
105
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
103
- p6 default all-clusters-minimal-app \
104
- out/infineon-p6-all-clusters-minimal/chip-p6-clusters-minimal-example.out
105
- - name : Build lighting-app example
106
+ psoc6 cy8ckit_062s2_43012 all-clusters-minimal \
107
+ out/artifacts/infineon-psoc6-all-clusters-minimal/chip-psoc6-clusters-minimal-example.out \
108
+ /tmp/bloat_reports/
109
+ - name : Build PSoC6 lighting-app example
106
110
timeout-minutes : 15
107
111
run : |
108
112
scripts/run_in_build_env.sh \
109
113
"scripts/build/build_examples.py \
110
114
--enable-flashbundle --no-log-timestamps \
111
- --target infineon-p6 -light \
115
+ --target infineon-psoc6 -light \
112
116
build \
113
117
--copy-artifacts-to out/artifacts \
114
118
"
115
119
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
116
- p6 default light-app \
117
- out/infineon-p6-light/chip-p6-lighting-example.out
120
+ psoc6 cy8ckit_062s2_43012 light \
121
+ out/artifacts/infineon-psoc6-light/chip-psoc6-lighting-example.out \
122
+ /tmp/bloat_reports/
123
+
124
+ - name : Build example CYW30739 Apps
125
+ timeout-minutes : 30
126
+ run : |
127
+ ./scripts/run_in_build_env.sh \
128
+ "./scripts/build/build_examples.py \
129
+ --target-glob 'cyw30739-cyw930739m2evb_01-{light,lock,ota-requestor-no-progress-logging}' \
130
+ build \
131
+ --copy-artifacts-to out/artifacts \
132
+ "
133
+ - name : Get light size stats
134
+ timeout-minutes : 5
135
+ run : |
136
+ .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
137
+ cyw30739 cyw930739m2evb_01 light \
138
+ out/artifacts/cyw30739-cyw930739m2evb_01-light/chip-cyw30739-lighting-example.elf \
139
+ /tmp/bloat_reports/
140
+ - name : Get lock size stats
141
+ timeout-minutes : 5
142
+ run : |
143
+ .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
144
+ cyw30739 cyw930739m2evb_01 lock \
145
+ out/artifacts/cyw30739-cyw930739m2evb_01-lock/chip-cyw30739-lock-example.elf \
146
+ /tmp/bloat_reports/
147
+ - name : Get ota-requestor size stats
148
+ timeout-minutes : 5
149
+ run : |
150
+ .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
151
+ cyw30739 cyw930739m2evb_01 ota-requestor-no-progress-logging \
152
+ out/artifacts/cyw30739-cyw930739m2evb_01-ota-requestor-no-progress-logging/chip-cyw30739-ota-requestor-example.elf \
153
+ /tmp/bloat_reports/
118
154
- name : Uploading Size Reports
119
155
uses : actions/upload-artifact@v2
120
156
if : ${{ !env.ACT }}
121
157
with :
122
- name : Size,P6 -Examples,${{ env.GH_EVENT_PR }},${{ env.GH_EVENT_HASH }},${{ env.GH_EVENT_PARENT }},${{ github.event_name }}
158
+ name : Size,Infineon -Examples,${{ env.GH_EVENT_PR }},${{ env.GH_EVENT_HASH }},${{ env.GH_EVENT_PARENT }},${{ github.event_name }}
123
159
path : |
124
- out/infineon-p6-lock/p6-default-lock-app-sizes.json
125
- out/infineon-p6-all-clusters/p6-default-all-clusters-app-sizes.json
126
- out/infineon-p6-all-clusters-minimal/p6-default-all-clusters-minimal-app-sizes.json
127
- out/infineon-p6-light/p6-default-light-app-sizes.json
160
+ /tmp/bloat_reports/
0 commit comments