15
15
# 1.45.2 is MSRV for lightning-net-tokio, lightning-block-sync, lightning-background-processor
16
16
1.45.2,
17
17
# 1.47.0 will be the MSRV for no-std builds using hashbrown once core2 is updated
18
- 1.47.0,
19
- # 1.59.0 is the MSRV for lightning-transaction-sync
20
- 1.59.0]
18
+ 1.47.0]
21
19
include :
22
20
- toolchain : stable
23
21
build-net-tokio : true
73
71
build-futures : true
74
72
build-no-std : true
75
73
build-tx-sync : false
76
- - toolchain : 1.59.0
77
- build-net-tokio : false
78
- build-no-std : false
79
- build-futures : false
80
- build-tx-sync : true
81
74
runs-on : ${{ matrix.platform }}
82
75
steps :
83
76
- name : Checkout source code
@@ -93,10 +86,10 @@ jobs:
93
86
run : cargo update -p tokio --precise "1.14.0" --verbose
94
87
env :
95
88
CARGO_NET_GIT_FETCH_WITH_CLI : " true"
96
- - name : Build on Rust ${{ matrix.toolchain }} with net-tokio and tx-sync
97
- if : " matrix.build-net-tokio && !matrix.coverage && matrix.build-tx-sync "
89
+ - name : Build on Rust ${{ matrix.toolchain }} with net-tokio
90
+ if : " matrix.build-net-tokio && !matrix.coverage"
98
91
run : cargo build --verbose --color always
99
- - name : Build on Rust ${{ matrix.toolchain }} with net-tokio, tx-sync, and full code-linking for coverage generation
92
+ - name : Build on Rust ${{ matrix.toolchain }} with net-tokio, and full code-linking for coverage generation
100
93
if : matrix.coverage
101
94
run : RUSTFLAGS="-C link-dead-code" cargo build --verbose --color always
102
95
- name : Build on Rust ${{ matrix.toolchain }}
@@ -151,9 +144,9 @@ jobs:
151
144
run : |
152
145
cd lightning && cargo test --verbose --color always --features backtrace
153
146
- name : Test on Rust ${{ matrix.toolchain }} with net-tokio
154
- if : " matrix.build-net-tokio && !matrix.coverage && matrix.build-tx-sync "
147
+ if : " matrix.build-net-tokio && !matrix.coverage"
155
148
run : cargo test --verbose --color always
156
- - name : Test on Rust ${{ matrix.toolchain }} with net-tokio, tx-sync, and full code-linking for coverage generation
149
+ - name : Test on Rust ${{ matrix.toolchain }} with net-tokio, and full code-linking for coverage generation
157
150
if : matrix.coverage
158
151
run : RUSTFLAGS="-C link-dead-code" cargo test --verbose --color always
159
152
- name : Test no-std builds on Rust ${{ matrix.toolchain }}
0 commit comments