Skip to content

Fuzz

Fuzz #1673

Workflow file for this run

---
name: Fuzz
"on":
schedule:
- cron: "0 9 * * *"
jobs:
encode:
name: Fuzz encode
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
with:
toolchain: nightly
- name: Install cargo-fuzz
run: cargo install cargo-fuzz
- name: Fuzz
run: cargo fuzz run encode -- -max_total_time=1800 # 30 minutes
decode:
name: Fuzz decode
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
with:
toolchain: nightly
- name: Install cargo-fuzz
run: cargo install cargo-fuzz
- name: Fuzz
run: cargo fuzz run decode -- -max_total_time=1800 # 30 minutes
roundtrip:
name: Fuzz encode/decode roundtrip
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install Rust toolchain
uses: artichoke/setup-rust/[email protected]
with:
toolchain: nightly
- name: Install cargo-fuzz
run: cargo install cargo-fuzz
- name: Fuzz
run: cargo fuzz run roundtrip -- -max_total_time=1800 # 30 minutes