20
20
- toolchain : stable
21
21
build-net-tokio : true
22
22
build-no-std : true
23
+ build-futures : true
23
24
- toolchain : stable
24
25
platform : macos-latest
25
26
build-net-tokio : true
@@ -36,18 +37,23 @@ jobs:
36
37
platform : windows-latest
37
38
build-net-tokio : true
38
39
build-no-std : true
40
+ build-futures : false
39
41
- toolchain : beta
40
42
build-net-tokio : true
41
43
build-no-std : true
44
+ build-futures : true
42
45
- toolchain : 1.41.1
43
46
build-no-std : false
44
47
test-log-variants : true
48
+ build-futures : false
45
49
- toolchain : 1.45.2
46
50
build-net-old-tokio : true
47
51
build-net-tokio : true
48
52
build-no-std : false
53
+ build-futures : false
49
54
coverage : true
50
55
- toolchain : 1.47.0
56
+ build-futures : true
51
57
build-no-std : true
52
58
runs-on : ${{ matrix.platform }}
53
59
steps :
@@ -109,7 +115,7 @@ jobs:
109
115
- name : Test on Rust ${{ matrix.toolchain }} with net-tokio and full code-linking for coverage generation
110
116
if : matrix.coverage
111
117
run : RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always
112
- - name : Test on no-std bullds Rust ${{ matrix.toolchain }}
118
+ - name : Test no-std builds on Rust ${{ matrix.toolchain }}
113
119
if : " matrix.build-no-std && !matrix.coverage"
114
120
shell : bash # Default on Winblows is powershell
115
121
run : |
@@ -131,13 +137,17 @@ jobs:
131
137
cd ..
132
138
cd no-std-check
133
139
cargo check --verbose --color always
134
- cd ..
135
140
- name : Test on no-std builds Rust ${{ matrix.toolchain }} and full code-linking for coverage generation
136
141
if : " matrix.build-no-std && matrix.coverage"
137
142
run : |
138
143
cd lightning
139
144
RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always --no-default-features --features no-std
140
- cd ..
145
+ - name : Test futures builds on Rust ${{ matrix.toolchain }}
146
+ if : " matrix.build-futures && !matrix.coverage"
147
+ shell : bash # Default on Winblows is powershell
148
+ run : |
149
+ cd lightning-background-processor
150
+ cargo test --verbose --color always --no-default-features --features futures
141
151
- name : Test on Rust ${{ matrix.toolchain }}
142
152
if : " ! matrix.build-net-tokio"
143
153
run : |
@@ -146,7 +156,6 @@ jobs:
146
156
cargo test --verbose --color always -p lightning-rapid-gossip-sync
147
157
cargo build --verbose --color always -p lightning-persister
148
158
cargo build --verbose --color always -p lightning-background-processor
149
- cargo check --verbose --color always -p lightning-background-processor --no-default-features --features=futures
150
159
- name : Test C Bindings Modifications on Rust ${{ matrix.toolchain }}
151
160
if : " ! matrix.build-net-tokio"
152
161
run : |
0 commit comments