File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Expand file tree Collapse file tree 2 files changed +51
-0
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 Bus
7+
8+ env :
9+ RUSTFLAGS : ' --deny warnings'
10+
11+ jobs :
12+ ci-linux-bus :
13+ runs-on : ubuntu-latest
14+ strategy :
15+ matrix :
16+ rust : [nightly]
17+ TARGET : [x86_64-unknown-linux-gnu, thumbv6m-none-eabi, thumbv7m-none-eabi]
18+
19+ steps :
20+ - uses : actions/checkout@v2
21+ - uses : actions-rs/toolchain@v1
22+ with :
23+ profile : minimal
24+ toolchain : ${{ matrix.rust }}
25+ target : ${{ matrix.TARGET }}
26+ override : true
27+ - run : cargo check --target=${{ matrix.TARGET }}
28+ working-directory : embedded-hal-bus
29+
30+ - run : cargo test --target=${{ matrix.TARGET }}
31+ if : contains(matrix.TARGET, 'linux')
32+ working-directory : embedded-hal-bus
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 : Clippy check
7+ jobs :
8+ clippy_check-bus :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - uses : actions-rs/toolchain@v1
13+ with :
14+ profile : minimal
15+ toolchain : nightly
16+ override : true
17+ components : clippy
18+ - run : cargo clippy
19+ working-directory : embedded-hal-bus
You can’t perform that action at this time.
0 commit comments