File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-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 :
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+ with :
20
+ submodules : true
21
+ - name : Build
22
+ run : cargo build
23
+ - name : Run tests
24
+ run : cargo test
25
+ - name : Build pure-rust
26
+ run : cargo build --features=pure-rust
27
+ - name : Run pure-rust tests
28
+ run : cargo test --features=pure-rust
29
+ - name : Build no-std
30
+ run : cargo build --no-default-features
31
+ - name : Run no-std tests
32
+ run : cargo test --no-default-features
33
+ - name : Build pure-rust no-std
34
+ run : cargo build --no-default-features --features=pure-rust
35
+ - name : Run pure-rust no-std tests
36
+ run : cargo test --no-default-features --features=pure-rust
You can’t perform that action at this time.
0 commit comments