rename travis-fuzz.sh to fuzz.sh; partially patch CI

This commit is contained in:
Andrew Poelstra 2023-03-22 02:30:19 +00:00
parent 0be75f7edc
commit 8021034d86
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
3 changed files with 2 additions and 12 deletions

View File

@ -34,7 +34,7 @@ jobs:
override: true override: true
profile: minimal profile: minimal
- name: fuzz - name: fuzz
run: cd bitcoin/fuzz && ./travis-fuzz.sh "${{ matrix.fuzz_target }}" run: cd fuzz && ./fuzz.sh "${{ matrix.fuzz_target }}"
- run: echo "${{ matrix.fuzz_target }}.rs" >executed_${{ matrix.fuzz_target }} - run: echo "${{ matrix.fuzz_target }}.rs" >executed_${{ matrix.fuzz_target }}
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
@ -51,5 +51,5 @@ jobs:
- name: Display structure of downloaded files - name: Display structure of downloaded files
run: ls -R run: ls -R
- run: find executed_* -type f -exec cat {} + | sort > executed - run: find executed_* -type f -exec cat {} + | sort > executed
- run: ls bitcoin/fuzz/fuzz_targets | sort > expected - run: ls fuzz/fuzz_targets | sort > expected
- run: diff expected executed - run: diff expected executed

View File

@ -108,16 +108,6 @@ if [ "$DO_DOCS" = true ]; then
RUSTDOCFLAGS="-D warnings" cargo +stable doc --all-features RUSTDOCFLAGS="-D warnings" cargo +stable doc --all-features
fi fi
# Fuzz if told to
if [ "$DO_FUZZ" = true ]
then
(
cd fuzz
cargo test --verbose
./travis-fuzz.sh
)
fi
# Run formatter if told to. # Run formatter if told to.
if [ "$DO_FMT" = true ]; then if [ "$DO_FMT" = true ]; then
if [ "$NIGHTLY" = false ]; then if [ "$NIGHTLY" = false ]; then