File tree Expand file tree Collapse file tree 9 files changed +126
-92
lines changed Expand file tree Collapse file tree 9 files changed +126
-92
lines changed Original file line number Diff line number Diff line change 1
1
block_labels = [" needs-decision" ]
2
2
delete_merged_branches = true
3
3
required_approvals = 1
4
- status = [" continuous-integration/travis-ci/push" ]
4
+ status = [
5
+ " ci-linux (stable, x86_64-unknown-linux-gnu)" ,
6
+ " ci-linux (stable, thumbv6m-none-eabi)" ,
7
+ " ci-linux (stable, thumbv7m-none-eabi)" ,
8
+ " ci-linux (1.31.0, x86_64-unknown-linux-gnu)" ,
9
+ " fmt" ,
10
+ ]
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
+ env :
9
+ RUSTFLAGS : ' --deny warnings'
10
+
11
+ jobs :
12
+ ci-linux :
13
+ runs-on : ubuntu-latest
14
+ strategy :
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, thumbv6m-none-eabi, thumbv7m-none-eabi]
21
+
22
+ include :
23
+ - rust : 1.31.0
24
+ TARGET : x86_64-unknown-linux-gnu
25
+
26
+ # Test nightly but don't fail
27
+ - rust : nightly
28
+ experimental : true
29
+ TARGET : x86_64-unknown-linux-gnu
30
+
31
+ steps :
32
+ - uses : actions/checkout@v2
33
+ - uses : actions-rs/toolchain@v1
34
+ with :
35
+ profile : minimal
36
+ toolchain : ${{ matrix.rust }}
37
+ target : ${{ matrix.TARGET }}
38
+ override : true
39
+ - uses : actions-rs/cargo@v1
40
+ with :
41
+ command : check
42
+ args : --target=${{ matrix.TARGET }}
43
+
44
+ - uses : actions-rs/cargo@v1
45
+ with :
46
+ command : check
47
+ args : --target=${{ matrix.TARGET }} --features unproven
48
+
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
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - uses : actions-rs/toolchain@v1
14
+ with :
15
+ profile : minimal
16
+ toolchain : stable
17
+ override : true
18
+ components : rustfmt
19
+ - uses : actions-rs/cargo@v1
20
+ with :
21
+ command : fmt
22
+ args : --all -- --check
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 : Test Suite
7
+
8
+ env :
9
+ RUSTFLAGS : ' --deny warnings'
10
+
11
+ jobs :
12
+ ci-linux :
13
+ runs-on : ubuntu-latest
14
+ strategy :
15
+ matrix :
16
+ rust : [nightly]
17
+
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - uses : actions-rs/toolchain@v1
21
+ with :
22
+ profile : minimal
23
+ toolchain : ${{ matrix.rust }}
24
+ target : ${{ matrix.TARGET }}
25
+ override : true
26
+ - uses : actions-rs/cargo@v1
27
+ with :
28
+ command : test
29
+ args : --features unproven
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments