@@ -137,35 +137,67 @@ jobs:
137
137
with :
138
138
use-cross : false
139
139
command : build
140
- args : --target=${{ matrix.target }} --example pktgen --features stm32f429
140
+ args : --release -- target=${{ matrix.target }} --example pktgen --features stm32f429
141
141
142
142
- name : cargo build f4 example ip
143
143
uses : actions-rs/cargo@v1
144
144
with :
145
145
use-cross : false
146
146
command : build
147
- args : --target=${{ matrix.target }} --example ip --features stm32f429,smoltcp-phy,log,smoltcp/socket-tcp,smoltcp/socket-icmp,smoltcp/log,smoltcp/verbose
147
+ args : --release -- target=${{ matrix.target }} --example ip --features stm32f429,smoltcp-phy,log,smoltcp/socket-tcp,smoltcp/socket-icmp,smoltcp/log,smoltcp/verbose
148
148
149
149
- name : cargo build f4 example arp
150
150
uses : actions-rs/cargo@v1
151
151
with :
152
152
use-cross : false
153
153
command : build
154
- args : --target=${{ matrix.target }} --example arp --features stm32f407
154
+ args : --release -- target=${{ matrix.target }} --example arp --features stm32f407
155
155
156
156
- name : cargo build f4 example arp-smoltcp
157
157
uses : actions-rs/cargo@v1
158
158
with :
159
159
use-cross : false
160
160
command : build
161
- args : --target=${{ matrix.target }} --example arp-smoltcp --features stm32f407,smoltcp-phy,smoltcp/socket-icmp
161
+ args : --release -- target=${{ matrix.target }} --example arp-smoltcp --features stm32f407,smoltcp-phy,smoltcp/socket-icmp
162
162
163
163
- name : cargo build f1 example ip
164
164
uses : actions-rs/cargo@v1
165
165
with :
166
166
use-cross : false
167
167
command : build
168
- args : --target=${{ matrix.target }} --example ip-f107 --features stm32f107,smoltcp-phy,log,smoltcp/socket-tcp,smoltcp/socket-icmp,smoltcp/log,smoltcp/verbose
168
+ args : --release --target=${{ matrix.target }} --example ip-f107 --features stm32f107,smoltcp-phy,log,smoltcp/socket-tcp,smoltcp/socket-icmp,smoltcp/log,smoltcp/verbose
169
+
170
+ rtic-echo-example :
171
+ name : rtic-echo example
172
+ runs-on : ubuntu-20.04
173
+ strategy :
174
+ matrix :
175
+ target :
176
+ - thumbv7m-none-eabi
177
+ toolchain :
178
+ - stable
179
+ features :
180
+ - stm32f107
181
+ - stm32f407
182
+ - stm32f765
183
+ - rtic-echo-example-altpin,stm32f765
184
+ steps :
185
+ - name : Checkout
186
+ uses : actions/checkout@v3
187
+
188
+ - name : Install Rust ${{ matrix.toolchain }} with target (${{ matrix.target }})
189
+ uses : actions-rs/toolchain@v1
190
+ with :
191
+ toolchain : ${{ matrix.toolchain }}
192
+ target : ${{ matrix.target }}
193
+ override : true
194
+
195
+ - name : build rtic-echo-example with features ${{ matrix.features }}
196
+ uses : actions-rs/cargo@v1
197
+ with :
198
+ use-cross : false
199
+ command : build
200
+ args : --release --target=${{ matrix.target }} --example rtic-echo --features rtic-echo-example,${{ matrix.features }}
169
201
170
202
# Refs: https://github.com/rust-lang/crater/blob/9ab6f9697c901c4a44025cf0a39b73ad5b37d198/.github/workflows/bors.yml#L125-L149
171
203
#
@@ -179,6 +211,7 @@ jobs:
179
211
- build
180
212
- test
181
213
- examples
214
+ - rtic-echo-example
182
215
runs-on : ubuntu-20.04
183
216
steps :
184
217
- name : Mark the job as a success
0 commit comments