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 aaa773c commit 84ec2f6
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,19 +24,22 @@ 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: beta
platform: macos-latest
build-net-tokio: true
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,11 +57,13 @@ jobs:
build-no-std: true
build-futures: true
build-tx-sync: true
build-anchors: 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 @@ -210,6 +215,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 84ec2f6

Please sign in to comment.