-
Notifications
You must be signed in to change notification settings - Fork 69
58 lines (55 loc) · 1.47 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
on: [push, pull_request]
name: Continuous integration
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
mcu:
- stm32f722
- stm32f723
- stm32f732
- stm32f733
- stm32f745
- stm32f746
- stm32f756
- stm32f765
- stm32f767
- stm32f769
- stm32f777
- stm32f778
- stm32f779
rust:
- stable
include:
- rust: nightly
mcu: stm32f746
experimental: true
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
target: thumbv7em-none-eabihf
override: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --features=${{ matrix.mcu }},usb_fs --examples
- uses: actions-rs/cargo@v1
with:
command: build
args: --features=${{ matrix.mcu }},usb_fs --examples --release
- uses: actions-rs/cargo@v1
with:
command: build
args: --features=${{ matrix.mcu }},rt,usb_fs --examples
- uses: actions-rs/cargo@v1
with:
command: build
args: --features=${{ matrix.mcu }},rt,usb_hs --examples
- uses: actions-rs/cargo@v1
with:
command: test
args: --features=${{ matrix.mcu }} --target x86_64-unknown-linux-gnu --lib