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:
6767 components : rustfmt, clippy
6868 toolchain : ${{ matrix.rust-version }}
6969
70- - name : build
70+ - name : build (all targets, all features)
7171 id : build
7272 run : cargo build --workspace --all-targets --all-features
7373
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
7587 # always run if build succeeds
7688 if : ${{ !cancelled() && steps.build.outcome == 'success' }}
7789 run : cargo clippy --workspace --all-targets --all-features -- -Dwarnings
7890
79- - name : run tests
91+ - name : test
8092 # always run if build succeeds
8193 if : ${{ !cancelled() && steps.build.outcome == 'success' }}
8294 run : cargo test --workspace --all-features
You can’t perform that action at this time.
0 commit comments