Fuzz QOI #473
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 QOI | |
on: | |
push: | |
branches: [ "main","dev" ] | |
paths: | |
- 'crates/zune-qoi/**' | |
schedule: | |
- cron: '0 0 * * *' | |
pull_request: | |
branches: [ "main" ,"dev" ] | |
paths: | |
- 'crates/zune-qoi/**' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install latest nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
- name: Install | |
run: cargo install cargo-fuzz | |
- name: QOI Fuzz testing. | |
run: cargo +nightly fuzz run --fuzz-dir crates/zune-qoi/fuzz decode_buffer test-images/qoi/ -j2 -- -timeout=10s -max_total_time=60 |