File tree 1 file changed +10
-9
lines changed
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 16
16
strategy :
17
17
matrix :
18
18
toolchain : ["stable"]
19
+ features : ["", "--features serde"]
19
20
20
21
steps :
21
22
- uses : actions/checkout@v4
@@ -35,24 +36,24 @@ jobs:
35
36
run : cargo install cargo-no-std-check
36
37
37
38
- name : Build
38
- run : cargo build --features serde --verbose
39
+ run : cargo build --verbose ${{ matrix.features }}
39
40
- name : Build-32bit
40
- run : cargo build --features serde -- verbose --target i686-unknown-linux-musl
41
+ run : cargo build --verbose --target i686-unknown-linux-musl ${{ matrix.features }}
41
42
- name : Build-wasm
42
- run : cargo build --features serde -- verbose --target wasm32v1-none
43
+ run : cargo build --verbose --target wasm32v1-none ${{ matrix.features }}
43
44
44
45
- name : Test
45
- run : cargo test --features serde --verbose
46
+ run : cargo test --verbose ${{ matrix.features }}
46
47
- name : Test-32bit
47
- run : cargo test --features serde -- verbose --target i686-unknown-linux-musl
48
+ run : cargo test --verbose --target i686-unknown-linux-musl ${{ matrix.features }}
48
49
- name : Check-wasm
49
- run : cargo check --features serde -- verbose --target wasm32v1-none
50
+ run : cargo check --verbose --target wasm32v1-none ${{ matrix.features }}
50
51
51
52
- name : Clippy
52
- run : cargo clippy --features serde -- - D warnings --verbose
53
+ run : cargo clippy -- - D warnings --verbose ${{ matrix.features }}
53
54
54
55
- name : Miri
55
- run : cargo +nightly miri test --features serde --verbose
56
+ run : cargo +nightly miri test --verbose ${{ matrix.features }}
56
57
57
58
- name : NoStd
58
- run : cargo +nightly no-std-check -- features serde
59
+ run : cargo +nightly no-std-check ${{ matrix. features }}
You can’t perform that action at this time.
0 commit comments