mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-15 15:39:09 +01:00
Test all log-limiting features in CI
This commit is contained in:
parent
31e592bedf
commit
4831de41ec
1 changed files with 8 additions and 0 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -43,6 +43,7 @@ jobs:
|
|||
build-no-std: true
|
||||
- toolchain: 1.36.0
|
||||
build-no-std: false
|
||||
test-log-variants: true
|
||||
- toolchain: 1.41.0
|
||||
build-no-std: false
|
||||
- toolchain: 1.45.2
|
||||
|
@ -73,6 +74,13 @@ jobs:
|
|||
cargo build --verbose --color always -p lightning
|
||||
cargo build --verbose --color always -p lightning-invoice
|
||||
cargo build --verbose --color always -p lightning-persister
|
||||
- name: Build on Rust ${{ matrix.toolchain }} with all Log-Limiting features
|
||||
if: matrix.test-log-variants
|
||||
run: |
|
||||
cd lightning
|
||||
for FEATURE in $(cat Cargo.toml | grep '^max_level_' | awk '{ print $1 }'); do
|
||||
cargo build --verbose --color always --features $FEATURE
|
||||
done
|
||||
- name: Build Block Sync Clients on Rust ${{ matrix.toolchain }} with features
|
||||
if: "matrix.build-net-tokio && !matrix.coverage"
|
||||
run: |
|
||||
|
|
Loading…
Add table
Reference in a new issue