rename travis-fuzz.sh to fuzz.sh; partially patch CI
This commit is contained in:
parent
0be75f7edc
commit
8021034d86
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue