Use stable toolchain for fuzzing
This commit is contained in:
parent
9b6b50a987
commit
2bbf63c7e0
|
@ -26,14 +26,14 @@ jobs:
|
||||||
key: cache-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
|
key: cache-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: stable
|
||||||
override: true
|
override: true
|
||||||
profile: minimal
|
profile: minimal
|
||||||
- run: cargo install honggfuzz
|
- run: cargo install honggfuzz
|
||||||
if: steps.cache-fuzz.outputs.cache-hit != 'true'
|
if: steps.cache-fuzz.outputs.cache-hit != 'true'
|
||||||
- run: echo "HFUZZ_RUN_ARGS=\"--run_time 30 --exit_upon_crash -v -f hfuzz_input/${{ matrix.fuzz_target }}/input\"" >> $GITHUB_ENV
|
- run: echo "HFUZZ_RUN_ARGS=\"--run_time 30 --exit_upon_crash -v -f hfuzz_input/${{ matrix.fuzz_target }}/input\"" >> $GITHUB_ENV
|
||||||
- name: fuzz
|
- name: fuzz
|
||||||
run: cd fuzz && cargo +nightly hfuzz run ${{ matrix.fuzz_target }}
|
run: cd fuzz && cargo hfuzz run ${{ 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:
|
||||||
|
|
Loading…
Reference in New Issue