11on :
22 push :
33 branches :
4- - develop
4+ - dev
55 pull_request :
66 branches :
77 - main
8+ - dev
89
910name : Unit
1011
@@ -18,18 +19,57 @@ jobs:
1819 with :
1920 toolchain : stable
2021 - uses : actions-rs/cargo@v1
22+ name : Build with default features
2123 with :
2224 command : build
23- args : --release --all-features
25+ args : --release
2426 - uses : actions-rs/cargo@v1
27+ name : Build with no default features
2528 with :
2629 command : build
27- args : --release --no-default-features --features core,models
30+ args : --release --no-default-features
2831 - uses : actions-rs/cargo@v1
32+ name : Build for no_std
33+ with :
34+ command : build
35+ args : --release --no-default-features --features embassy-rt,core,wallet,models,helpers,websocket,json-rpc
36+ - uses : actions-rs/cargo@v1
37+ name : Build only core
38+ with :
39+ command : build
40+ args : --release --no-default-features --features core
41+ - uses : actions-rs/cargo@v1
42+ name : Build only wallet
43+ with :
44+ command : build
45+ args : --release --no-default-features --features wallet
46+ - uses : actions-rs/cargo@v1
47+ name : Build only models
48+ with :
49+ command : build
50+ args : --release --no-default-features --features models
51+ - uses : actions-rs/cargo@v1
52+ name : Build only helpers
53+ with :
54+ command : build
55+ args : --release --no-default-features --features websocket,json-rpc,helpers,tokio-rt
56+ - uses : actions-rs/cargo@v1
57+ name : Build only websocket
58+ with :
59+ command : build
60+ args : --release --no-default-features --features websocket
61+ - uses : actions-rs/cargo@v1
62+ name : Build only core
63+ with :
64+ command : build
65+ args : --release --no-default-features --features json-rpc
66+ - uses : actions-rs/cargo@v1
67+ name : Test with default features
2968 with :
3069 command : test
31- args : --all-features
70+ args : --release
3271 - uses : actions-rs/cargo@v1
72+ name : Test for no_std
3373 with :
3474 command : test
35- args : --no-default-features --features core,models
75+ args : --release -- no-default-features --features embassy-rt, core,wallet, models,helpers,websocket,json-rpc
0 commit comments