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 Feb 15, 2023
1 parent 45dcd93 commit fead0c6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,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 @@ -39,6 +41,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 @@ -56,13 +59,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 @@ -214,6 +219,10 @@ 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
- 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 fead0c6

Please sign in to comment.