Fuzz HDR #570
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fuzz HDR | |
on: | |
push: | |
branches: [ "main","dev" ] | |
paths: | |
- 'crates/zune-hdr/**' | |
pull_request: | |
branches: [ "main" ,"dev" ] | |
paths: | |
- 'crates/zune-hdr/**' | |
schedule: | |
- cron: '0 0 * * *' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@nightly | |
- name: Install | |
run: cargo install cargo-fuzz | |
- name: Normal Fuzz testing. | |
run: cargo +nightly fuzz run --fuzz-dir crates/zune-hdr/fuzz decode_buffer -j2 -- -timeout=10s test-images/hdr -max_total_time=120 | |