Skip to content

Commit 84ec2f6

Browse files
committed
Test anchors build in CI
1 parent aaa773c commit 84ec2f6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,22 @@ jobs:
2424
build-no-std: true
2525
build-futures: true
2626
build-tx-sync: true
27+
build-anchors: true
2728
coverage: true
2829
- toolchain: stable
2930
platform: macos-latest
3031
build-net-tokio: true
3132
build-no-std: true
3233
build-futures: true
3334
build-tx-sync: true
35+
build-anchors: true
3436
- toolchain: beta
3537
platform: macos-latest
3638
build-net-tokio: true
3739
build-no-std: true
3840
build-futures: true
3941
build-tx-sync: true
42+
build-anchors: true
4043
- toolchain: stable
4144
platform: windows-latest
4245
build-net-tokio: true
@@ -54,11 +57,13 @@ jobs:
5457
build-no-std: true
5558
build-futures: true
5659
build-tx-sync: true
60+
build-anchors: true
5761
- toolchain: 1.41.1
5862
build-no-std: false
5963
test-log-variants: true
6064
build-futures: false
6165
build-tx-sync: false
66+
build-anchors: true
6267
- toolchain: 1.45.2
6368
build-net-old-tokio: true
6469
build-net-tokio: true
@@ -210,6 +215,10 @@ jobs:
210215
RUSTFLAGS="--cfg=c_bindings" cargo test --verbose --color always -p lightning-invoice
211216
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-persister
212217
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-background-processor
218+
- name: Test Anchors Modifications on Rust ${{ matrix.toolchain }}
219+
if: "matrix.build-anchors"
220+
run: |
221+
RUSTFLAGS="--cfg=anchors" cargo test --verbose --color always -p lightning
213222
- name: Test Block Sync Clients on Rust ${{ matrix.toolchain }} with features
214223
if: "matrix.build-net-tokio && !matrix.coverage"
215224
run: |

0 commit comments

Comments
 (0)