File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -67,16 +67,28 @@ jobs:
67
67
components : rustfmt, clippy
68
68
toolchain : ${{ matrix.rust-version }}
69
69
70
- - name : build
70
+ - name : build (all targets, all features)
71
71
id : build
72
72
run : cargo build --workspace --all-targets --all-features
73
73
74
- - name : run clippy
74
+ - name : check ngx, no default features (no_std)
75
+ run : cargo check -p ngx --no-default-features --features vendored
76
+
77
+ - name : check ngx, alloc
78
+ run : cargo check -p ngx --no-default-features --features vendored,alloc
79
+
80
+ - name : check ngx, std
81
+ run : cargo check -p ngx --no-default-features --features vendored,std
82
+
83
+ - name : check ngx, alloc + serde
84
+ run : cargo check -p ngx --no-default-features --features vendored,alloc,serde
85
+
86
+ - name : clippy
75
87
# always run if build succeeds
76
88
if : ${{ !cancelled() && steps.build.outcome == 'success' }}
77
89
run : cargo clippy --workspace --all-targets --all-features -- -Dwarnings
78
90
79
- - name : run tests
91
+ - name : test
80
92
# always run if build succeeds
81
93
if : ${{ !cancelled() && steps.build.outcome == 'success' }}
82
94
run : cargo test --workspace --all-features
You can’t perform that action at this time.
0 commit comments