-
Notifications
You must be signed in to change notification settings - Fork 45
126 lines (118 loc) · 2.52 KB
/
rust.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
six:
name: Thumbv6
runs-on: ubuntu-latest
strategy:
matrix:
mcu:
- g030
- g031
- g041
# - g050
# - g051
# - g061
- g070
- g071
- g081
# - g0b0
# - g0b1
# - g0c1
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: thumbv6m-none-eabi
components: rust-src
override: true
- name: Build
run: cargo build --features=${{ matrix.mcu }},usb --lib
- name: Run tests
run: cargo test --features=${{ matrix.mcu }},usb --lib
seven:
name: Thumbv7
runs-on: ubuntu-latest
strategy:
matrix:
mcu:
- l4x1
- l4x2
- l412
- l4x3
- l4x5
- l4x6
- f301
- f302
- f303
- f373
- f3x4
- f401
- f405
- f407
- f410
- f411
- f412
- f413
- f427
- f429
- f446
- f469
- g431
- g441
- g471
- g473
- g474
- g483
- g484
- g491
- g4a1
- h735
- h743
- h743v
- h747cm4
- h747cm7
- h753
- h753v
# - h7b3
- wb55
- wle5
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: thumbv7em-none-eabihf
components: rust-src
override: true
- name: Build
run: cargo build --features=${{ matrix.mcu }},usb --lib
- name: Run tests
run: cargo test --features=${{ matrix.mcu }},usb --lib
eight:
name: Thumbv8
runs-on: ubuntu-latest
strategy:
matrix:
mcu:
- l552
- l562
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: thumbv8m.main-none-eabihf
components: rust-src
override: true
- name: Build
run: cargo build --features=${{ matrix.mcu }},usb --lib
- name: Run tests
run: cargo test --features=${{ matrix.mcu }},usb --lib