File tree Expand file tree Collapse file tree 4 files changed +70
-21
lines changed Expand file tree Collapse file tree 4 files changed +70
-21
lines changed Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+
3+ name : Continuous integration
4+
5+ jobs :
6+ ci :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ rust :
11+ - stable
12+ include :
13+ - rust : nightly
14+ experimental : true
15+
16+ steps :
17+ - uses : actions/checkout@v2
18+ - uses : actions-rs/toolchain@v1
19+ with :
20+ profile : minimal
21+ toolchain : ${{ matrix.rust }}
22+ target : thumbv7em-none-eabihf
23+ override : true
24+
25+ - name : Regular build for all supported MCU models
26+ run : python tools/check.py
27+
28+ - uses : actions-rs/cargo@v1
29+ with :
30+ command : build
31+ args : --examples --features=stm32f401,rt,usb_fs --release
Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+
3+ name : Clippy check
4+ jobs :
5+ clippy_check :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/checkout@v2
9+ - uses : actions-rs/toolchain@v1
10+ with :
11+ profile : minimal
12+ toolchain : stable
13+ target : thumbv7em-none-eabihf
14+ override : true
15+ components : clippy
16+ - uses : actions-rs/clippy-check@v1
17+ with :
18+ token : ${{ secrets.GITHUB_TOKEN }}
19+ args : --features=stm32f479
Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+
3+ name : Code formatting check
4+
5+ jobs :
6+ fmt :
7+ name : Rustfmt
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - uses : actions-rs/toolchain@v1
12+ with :
13+ profile : minimal
14+ toolchain : stable
15+ override : true
16+ components : rustfmt
17+ - uses : actions-rs/cargo@v1
18+ with :
19+ command : fmt
20+ args : --all -- --check
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments