Skip to content

Commit 2746dc2

Browse files
committed
Test anchors build in CI
1 parent 5909b79 commit 2746dc2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ jobs:
2222
build-no-std: true
2323
build-futures: true
2424
build-tx-sync: true
25+
build-anchors: true
2526
coverage: true
2627
- toolchain: stable
2728
platform: macos-latest
2829
build-net-tokio: true
2930
build-no-std: true
3031
build-futures: true
3132
build-tx-sync: true
33+
build-anchors: true
3234
- toolchain: stable
3335
test-custom-message: true
3436
- toolchain: beta
@@ -37,6 +39,7 @@ jobs:
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,13 +57,15 @@ jobs:
5457
build-no-std: true
5558
build-futures: true
5659
build-tx-sync: true
60+
build-anchors: true
5761
- toolchain: beta
5862
test-custom-message: true
5963
- toolchain: 1.41.1
6064
build-no-std: false
6165
test-log-variants: true
6266
build-futures: false
6367
build-tx-sync: false
68+
build-anchors: true
6469
- toolchain: 1.45.2
6570
build-net-old-tokio: true
6671
build-net-tokio: true
@@ -216,6 +221,11 @@ jobs:
216221
RUSTFLAGS="--cfg=c_bindings" cargo test --verbose --color always -p lightning-invoice
217222
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-persister
218223
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-background-processor
224+
- name: Test Anchors Modifications on Rust ${{ matrix.toolchain }}
225+
if: "matrix.build-anchors"
226+
run: |
227+
RUSTFLAGS="--cfg=anchors" cargo test --verbose --color always -p lightning
228+
RUSTDOCFLAGS="--cfg=anchors" cargo doc --release
219229
- name: Test Block Sync Clients on Rust ${{ matrix.toolchain }} with features
220230
if: "matrix.build-net-tokio && !matrix.coverage"
221231
run: |

0 commit comments

Comments
 (0)