File tree Expand file tree Collapse file tree 3 files changed +67
-14
lines changed Expand file tree Collapse file tree 3 files changed +67
-14
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches : [ staging, trying, master ]
4+ pull_request :
5+
6+ name : CI
7+
8+ jobs :
9+ ci-linux :
10+ name : CI
11+ runs-on : ubuntu-latest
12+
13+ strategy :
14+ matrix :
15+ rust : [stable]
16+
17+ include :
18+ # Test nightly but don't fail
19+ - rust : nightly
20+ experimental : true
21+ TARGET : x86_64-unknown-linux-gnu
22+
23+ steps :
24+ - uses : actions/checkout@v2
25+
26+ - uses : actions-rs/toolchain@v1
27+ with :
28+ profile : minimal
29+ toolchain : ${{ matrix.rust }}
30+ target : ${{ matrix.TARGET }}
31+ override : true
32+
33+ - name : Install libusb library
34+ run : sudo apt-get install -y libusb-1.0.0-dev
35+
36+ - uses : actions-rs/cargo@v1
37+ with :
38+ command : check
39+ args : --all-targets
40+
41+ - uses : actions-rs/cargo@v1
42+ with :
43+ command : check
44+ args : --features control-buffer-256
Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches : [ staging, trying, master ]
4+ pull_request :
5+
6+ name : Code formatting check
7+
8+ jobs :
9+ fmt :
10+ name : Rustfmt
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ - uses : actions-rs/toolchain@v1
15+ with :
16+ profile : minimal
17+ toolchain : stable
18+ override : true
19+ components : rustfmt
20+ - uses : actions-rs/cargo@v1
21+ with :
22+ command : fmt
23+ args : --all -- --check
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments