File tree Expand file tree Collapse file tree 5 files changed +97
-79
lines changed Expand file tree Collapse file tree 5 files changed +97
-79
lines changed Original file line number Diff line number Diff line change 11block_labels = [" needs-decision" ]
22delete_merged_branches = true
33required_approvals = 1
4- status = [" continuous-integration/travis-ci/push" ]
4+ status = [
5+ " CI (stable, x86_64-unknown-linux-gnu)" ,
6+ " CI (stable, armv7-unknown-linux-gnueabihf)" ,
7+ " CI (1.35.0, x86_64-unknown-linux-gnu)" ,
8+ ]
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+ name : CI
11+ runs-on : ubuntu-latest
12+
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ # All generated code should be running on stable now
17+ rust : [stable]
18+
19+ # The default target we're compiling on and for
20+ TARGET : [x86_64-unknown-linux-gnu, armv7-unknown-linux-gnueabihf]
21+
22+ include :
23+ # Test MSRV
24+ - rust : 1.35.0
25+ TARGET : x86_64-unknown-linux-gnu
26+
27+ # Test nightly but don't fail
28+ - rust : nightly
29+ experimental : true
30+ TARGET : x86_64-unknown-linux-gnu
31+
32+ steps :
33+ - uses : actions/checkout@v2
34+
35+ - uses : actions-rs/toolchain@v1
36+ with :
37+ profile : minimal
38+ toolchain : ${{ matrix.rust }}
39+ target : ${{ matrix.TARGET }}
40+ override : true
41+
42+ - name : Install armv7 libraries
43+ if : ${{ matrix.TARGET == 'armv7-unknown-linux-gnueabihf' }}
44+ run : sudo apt-get install -y libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf
45+
46+ - uses : actions-rs/cargo@v1
47+ with :
48+ command : check
49+ args : --target=${{ matrix.TARGET }}
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 :
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 : stable
16+ override : true
17+ components : clippy
18+ - uses : actions-rs/clippy-check@v1
19+ with :
20+ token : ${{ secrets.GITHUB_TOKEN }}
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