projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop the `fails_paying_for_bolt12_invoice` test
[rust-lightning]
/
.github
/
workflows
/
build.yml
diff --git
a/.github/workflows/build.yml
b/.github/workflows/build.yml
index 65be3faef8b5578e0e44b84a6e3651be360af01f..ab10b36d25ae09a07d5f3f251b6991ff33f77ed0 100644
(file)
--- a/
.github/workflows/build.yml
+++ b/
.github/workflows/build.yml
@@
-39,6
+39,9
@@
jobs:
run: |
sudo apt-get -y install shellcheck
shellcheck ci/ci-tests.sh
run: |
sudo apt-get -y install shellcheck
shellcheck ci/ci-tests.sh
+ - name: Set RUSTFLAGS to deny warnings
+ if: "matrix.toolchain == '1.63.0'"
+ run: echo "RUSTFLAGS=-D warnings" >> "$GITHUB_ENV"
- name: Run CI script
shell: bash # Default on Winblows is powershell
run: CI_MINIMIZE_DISK_USAGE=1 ./ci/ci-tests.sh
- name: Run CI script
shell: bash # Default on Winblows is powershell
run: CI_MINIMIZE_DISK_USAGE=1 ./ci/ci-tests.sh
@@
-107,7
+110,7
@@
jobs:
run: |
cd lightning
RUSTFLAGS="--cfg=require_route_graph_test" cargo test
run: |
cd lightning
RUSTFLAGS="--cfg=require_route_graph_test" cargo test
- RUSTFLAGS="--cfg=require_route_graph_test" cargo test --features hashbrown
+ RUSTFLAGS="--cfg=require_route_graph_test" cargo test --features hashbrown
,ahash
cd ..
- name: Run benchmarks on Rust ${{ matrix.toolchain }}
run: |
cd ..
- name: Run benchmarks on Rust ${{ matrix.toolchain }}
run: |
@@
-173,7
+176,7
@@
jobs:
fuzz:
runs-on: ubuntu-latest
env:
fuzz:
runs-on: ubuntu-latest
env:
- TOOLCHAIN: 1.
58
+ TOOLCHAIN: 1.
63
steps:
- name: Checkout source code
uses: actions/checkout@v3
steps:
- name: Checkout source code
uses: actions/checkout@v3
@@
-185,6
+188,10
@@
jobs:
run: |
sudo apt-get update
sudo apt-get -y install build-essential binutils-dev libunwind-dev
run: |
sudo apt-get update
sudo apt-get -y install build-essential binutils-dev libunwind-dev
+ - name: Pin the regex dependency
+ run: |
+ cd fuzz && cargo update -p regex --precise "1.9.6" --verbose && cd ..
+ cd lightning-invoice/fuzz && cargo update -p regex --precise "1.9.6" --verbose
- name: Sanity check fuzz targets on Rust ${{ env.TOOLCHAIN }}
run: cd fuzz && RUSTFLAGS="--cfg=fuzzing" cargo test --verbose --color always
- name: Run fuzzers
- name: Sanity check fuzz targets on Rust ${{ env.TOOLCHAIN }}
run: cd fuzz && RUSTFLAGS="--cfg=fuzzing" cargo test --verbose --color always
- name: Run fuzzers