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