|
56 | 56 | cargo build --verbose --color always --features rpc-client |
57 | 57 | cargo build --verbose --color always --features rpc-client,rest-client |
58 | 58 | cargo build --verbose --color always --features rpc-client,rest-client,tokio |
| 59 | + cd ../lightning |
| 60 | + cargo build --verbose --color always --features hashbrown |
59 | 61 | cd .. |
60 | 62 | - name: Build Block Sync Clients on Rust ${{ matrix.toolchain }} with features and full code-linking for coverage generation |
61 | 63 | if: matrix.coverage |
|
65 | 67 | RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always --features rpc-client |
66 | 68 | RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always --features rpc-client,rest-client |
67 | 69 | RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always --features rpc-client,rest-client,tokio |
| 70 | + cd ../lightning |
| 71 | + RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always --features hashbrown |
68 | 72 | cd .. |
69 | 73 | - name: Test on Rust ${{ matrix.toolchain }} with net-tokio |
70 | 74 | if: "matrix.build-net-tokio && !matrix.coverage" |
|
83 | 87 | cargo test --verbose --color always --features rpc-client |
84 | 88 | cargo test --verbose --color always --features rpc-client,rest-client |
85 | 89 | cargo test --verbose --color always --features rpc-client,rest-client,tokio |
| 90 | + cd ../lightning |
| 91 | + cargo test --verbose --color always --features hashbrown |
86 | 92 | cd .. |
87 | 93 | - name: Test Block Sync Clients on Rust ${{ matrix.toolchain }} with features and full code-linking for coverage generation |
88 | 94 | if: matrix.coverage |
|
92 | 98 | RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always --features rpc-client |
93 | 99 | RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always --features rpc-client,rest-client |
94 | 100 | RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always --features rpc-client,rest-client,tokio |
| 101 | + cd ../lightning |
| 102 | + RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always --features hashbrown |
95 | 103 | cd .. |
96 | 104 | - name: Install deps for kcov |
97 | 105 | if: matrix.coverage |
@@ -157,6 +165,7 @@ jobs: |
157 | 165 | run: | |
158 | 166 | cd lightning |
159 | 167 | RUSTFLAGS="--cfg=require_route_graph_test" cargo test |
| 168 | + RUSTFLAGS="--cfg=require_route_graph_test" cargo test --features hashbrown |
160 | 169 | cd .. |
161 | 170 | - name: Run benchmarks on Rust ${{ matrix.toolchain }} |
162 | 171 | run: | |
|
0 commit comments