Skip to content

Commit fead0c6

Browse files
committed
Test anchors build in CI
1 parent 45dcd93 commit fead0c6

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,13 +24,15 @@ 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: stable
3537
test-custom-message: true
3638
- toolchain: beta
@@ -39,6 +41,7 @@ jobs:
3941
build-no-std: true
4042
build-futures: true
4143
build-tx-sync: true
44+
build-anchors: true
4245
- toolchain: stable
4346
platform: windows-latest
4447
build-net-tokio: true
@@ -56,13 +59,15 @@ jobs:
5659
build-no-std: true
5760
build-futures: true
5861
build-tx-sync: true
62+
build-anchors: true
5963
- toolchain: beta
6064
test-custom-message: true
6165
- toolchain: 1.41.1
6266
build-no-std: false
6367
test-log-variants: true
6468
build-futures: false
6569
build-tx-sync: false
70+
build-anchors: true
6671
- toolchain: 1.45.2
6772
build-net-old-tokio: true
6873
build-net-tokio: true
@@ -214,6 +219,10 @@ jobs:
214219
RUSTFLAGS="--cfg=c_bindings" cargo test --verbose --color always -p lightning-invoice
215220
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-persister
216221
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-background-processor
222+
- name: Test Anchors Modifications on Rust ${{ matrix.toolchain }}
223+
if: "matrix.build-anchors"
224+
run: |
225+
RUSTFLAGS="--cfg=anchors" cargo test --verbose --color always -p lightning
217226
- name: Test Block Sync Clients on Rust ${{ matrix.toolchain }} with features
218227
if: "matrix.build-net-tokio && !matrix.coverage"
219228
run: |

0 commit comments

Comments
 (0)