Skip to content

Commit fb4f34c

Browse files
committed
Remove build-net-tokio flag in CI since its now always true
1 parent 11a0d26 commit fb4f34c

File tree

1 file changed

+4
-32
lines changed

1 file changed

+4
-32
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -14,39 +14,33 @@ jobs:
1414
1.48.0]
1515
include:
1616
- toolchain: stable
17-
build-net-tokio: true
1817
build-no-std: true
1918
build-futures: true
2019
build-tx-sync: true
2120
coverage: true
2221
- toolchain: stable
2322
platform: macos-latest
24-
build-net-tokio: true
2523
build-no-std: true
2624
build-futures: true
2725
build-tx-sync: true
2826
- toolchain: stable
2927
test-custom-message: true
3028
- toolchain: beta
3129
platform: macos-latest
32-
build-net-tokio: true
3330
build-no-std: true
3431
build-futures: true
3532
build-tx-sync: true
3633
- toolchain: stable
3734
platform: windows-latest
38-
build-net-tokio: true
3935
build-no-std: true
4036
build-futures: true
4137
build-tx-sync: false
4238
- toolchain: beta
4339
platform: windows-latest
44-
build-net-tokio: true
4540
build-no-std: true
4641
build-futures: true
4742
build-tx-sync: false
4843
- toolchain: beta
49-
build-net-tokio: true
5044
build-no-std: true
5145
build-futures: true
5246
build-tx-sync: true
@@ -67,7 +61,6 @@ jobs:
6761
override: true
6862
profile: minimal
6963
- name: Pin tokio to 1.14 for Rust 1.45
70-
if: "matrix.build-net-old-tokio"
7164
run: cargo update -p tokio --precise "1.14.0" --verbose
7265
env:
7366
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
@@ -77,17 +70,11 @@ jobs:
7770
env:
7871
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
7972
- name: Build on Rust ${{ matrix.toolchain }} with net-tokio
80-
if: "matrix.build-net-tokio && !matrix.coverage"
73+
if: "!matrix.coverage"
8174
run: cargo build --verbose --color always
8275
- name: Build on Rust ${{ matrix.toolchain }} with net-tokio, and full code-linking for coverage generation
8376
if: matrix.coverage
8477
run: RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always
85-
- name: Build on Rust ${{ matrix.toolchain }}
86-
if: "! matrix.build-net-tokio"
87-
run: |
88-
cargo build --verbose --color always -p lightning
89-
cargo build --verbose --color always -p lightning-invoice
90-
cargo build --verbose --color always -p lightning-persister
9178
- name: Build on Rust ${{ matrix.toolchain }} with all Log-Limiting features
9279
if: matrix.test-log-variants
9380
run: |
@@ -96,7 +83,7 @@ jobs:
9683
cargo build --verbose --color always --features $FEATURE
9784
done
9885
- name: Build Block Sync Clients on Rust ${{ matrix.toolchain }} with features
99-
if: "matrix.build-net-tokio && !matrix.coverage"
86+
if: "!matrix.coverage"
10087
run: |
10188
cd lightning-block-sync
10289
cargo build --verbose --color always --features rest-client
@@ -138,7 +125,7 @@ jobs:
138125
run: |
139126
cd lightning && RUST_BACKTRACE=1 cargo test --verbose --color always --features backtrace
140127
- name: Test on Rust ${{ matrix.toolchain }} with net-tokio
141-
if: "matrix.build-net-tokio && !matrix.coverage"
128+
if: "!matrix.coverage"
142129
run: cargo test --verbose --color always
143130
- name: Test on Rust ${{ matrix.toolchain }} with net-tokio, and full code-linking for coverage generation
144131
if: matrix.coverage
@@ -186,23 +173,8 @@ jobs:
186173
run: |
187174
cd lightning-background-processor
188175
RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always --no-default-features --features futures
189-
- name: Test on Rust ${{ matrix.toolchain }}
190-
if: "! matrix.build-net-tokio"
191-
run: |
192-
cargo test --verbose --color always -p lightning
193-
cargo test --verbose --color always -p lightning-invoice
194-
cargo test --verbose --color always -p lightning-rapid-gossip-sync
195-
cargo test --verbose --color always -p lightning-persister
196-
cargo test --verbose --color always -p lightning-background-processor
197-
- name: Test C Bindings Modifications on Rust ${{ matrix.toolchain }}
198-
if: "! matrix.build-net-tokio"
199-
run: |
200-
RUSTFLAGS="--cfg=c_bindings" cargo test --verbose --color always -p lightning
201-
RUSTFLAGS="--cfg=c_bindings" cargo test --verbose --color always -p lightning-invoice
202-
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-persister
203-
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-background-processor
204176
- name: Test Block Sync Clients on Rust ${{ matrix.toolchain }} with features
205-
if: "matrix.build-net-tokio && !matrix.coverage"
177+
if: "!matrix.coverage"
206178
run: |
207179
cd lightning-block-sync
208180
cargo test --verbose --color always --features rest-client

0 commit comments

Comments
 (0)