File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-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 : Continuous integration
7+
8+ jobs :
9+ ci-linux :
10+ runs-on : ubuntu-20.04
11+ continue-on-error : ${{ matrix.experimental || false }}
12+ strategy :
13+ matrix :
14+ rust : [stable]
15+
16+ include :
17+ # Test nightly but don't fail
18+ - rust : nightly
19+ experimental : true
20+ steps :
21+ - uses : actions/checkout@v2
22+ - uses : actions-rs/toolchain@v1
23+ with :
24+ profile : minimal
25+ toolchain : ${{ matrix.rust }}
26+ override : true
27+ - name : Install Rust target
28+ run : rustup target install --toolchain=${{ matrix.rust }} riscv32imac-unknown-none-elf
29+
30+ - name : Check code
31+ run : cargo check --all-features
32+ - name : Check examples
33+ run : cargo build --target riscv32imac-unknown-none-elf --examples --all-features --release
You can’t perform that action at this time.
0 commit comments