File tree Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Rust
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ env :
10
+ CARGO_TERM_COLOR : always
11
+
12
+ jobs :
13
+ build stable :
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+ - uses : actions-rs/toolchain@v1
20
+ with :
21
+ toolchain : stable
22
+ - name : Build
23
+ run : cargo build --verbose --all
24
+ - name : Run tests
25
+ run : cargo test --verbose --all
26
+ - name : Docs
27
+ run : cargo doc --verbose --all
28
+
29
+ build beta :
30
+ runs-on : ubuntu-latest
31
+
32
+ steps :
33
+ - uses : actions/checkout@v2
34
+ - uses : actions-rs/toolchain@v1
35
+ with :
36
+ toolchain : beta
37
+ - name : Build
38
+ run : cargo build --verbose --all
39
+ - name : Run tests
40
+ run : cargo test --verbose --all
41
+ - name : Docs
42
+ run : cargo doc --verbose --all
43
+
44
+ build nightly :
45
+ runs-on : ubuntu-latest
46
+
47
+ steps :
48
+ - uses : actions/checkout@v2
49
+ - uses : actions-rs/toolchain@v1
50
+ with :
51
+ toolchain : nightly
52
+ - name : Build
53
+ run : cargo build --verbose --all
54
+ - name : Run tests
55
+ run : cargo test --verbose --all
56
+ - name : Docs
57
+ run : cargo doc --verbose --all
58
+
59
+ check big endian :
60
+ runs-on : ubuntu-latest
61
+
62
+ steps :
63
+ - uses : actions/checkout@v2
64
+ - uses : actions-rs/toolchain@v1
65
+ with :
66
+ toolchain : stable
67
+ target : powerpc64-unknown-linux-gnu
68
+ - name : Check
69
+ run : cargo check --verbose --target powerpc64-unknown-linux-gnu --lib --bins --tests
You can’t perform that action at this time.
0 commit comments