Skip to content

Commit

Permalink
Test anchors build in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wpaulino committed Mar 14, 2023
1 parent 5909b79 commit 2746dc2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ jobs:
build-no-std: true
build-futures: true
build-tx-sync: true
build-anchors: true
coverage: true
- toolchain: stable
platform: macos-latest
build-net-tokio: true
build-no-std: true
build-futures: true
build-tx-sync: true
build-anchors: true
- toolchain: stable
test-custom-message: true
- toolchain: beta
Expand All @@ -37,6 +39,7 @@ jobs:
build-no-std: true
build-futures: true
build-tx-sync: true
build-anchors: true
- toolchain: stable
platform: windows-latest
build-net-tokio: true
Expand All @@ -54,13 +57,15 @@ jobs:
build-no-std: true
build-futures: true
build-tx-sync: true
build-anchors: true
- toolchain: beta
test-custom-message: true
- toolchain: 1.41.1
build-no-std: false
test-log-variants: true
build-futures: false
build-tx-sync: false
build-anchors: true
- toolchain: 1.45.2
build-net-old-tokio: true
build-net-tokio: true
Expand Down Expand Up @@ -216,6 +221,11 @@ jobs:
RUSTFLAGS="--cfg=c_bindings" cargo test --verbose --color always -p lightning-invoice
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-persister
RUSTFLAGS="--cfg=c_bindings" cargo build --verbose --color always -p lightning-background-processor
- name: Test Anchors Modifications on Rust ${{ matrix.toolchain }}
if: "matrix.build-anchors"
run: |
RUSTFLAGS="--cfg=anchors" cargo test --verbose --color always -p lightning
RUSTDOCFLAGS="--cfg=anchors" cargo doc --release
- name: Test Block Sync Clients on Rust ${{ matrix.toolchain }} with features
if: "matrix.build-net-tokio && !matrix.coverage"
run: |
Expand Down

0 comments on commit 2746dc2

Please sign in to comment.