Skip to content

Commit 6f5f584

Browse files
committed
f - Fix .github/workflows/build.yml
1 parent dd1489d commit 6f5f584

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,16 @@ jobs:
4949
if: "! matrix.build-net-tokio"
5050
run: cargo build --verbose --color always -p lightning
5151
- name: Build Block Sync Clients on Rust ${{ matrix.toolchain }} with features
52-
if: matrix.build-net-tokio
52+
if: "matrix.build-net-tokio && !matrix.coverage"
53+
run: |
54+
cd lightning-block-sync
55+
cargo build --verbose --color always --features rest-client
56+
cargo build --verbose --color always --features rpc-client
57+
cargo build --verbose --color always --features rpc-client,rest-client
58+
cargo build --verbose --color always --features rpc-client,rest-client,tokio
59+
cd ..
60+
- name: Build Block Sync Clients on Rust ${{ matrix.toolchain }} with features and full code-linking for coverage generation
61+
if: matrix.coverage
5362
run: |
5463
cd lightning-block-sync
5564
RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always --features rest-client

0 commit comments

Comments
 (0)