fuzz.yml 752 B

123456789101112131415161718192021222324
  1. on:
  2. push:
  3. branches: [ staging, trying ]
  4. pull_request:
  5. name: Fuzz
  6. jobs:
  7. fuzz:
  8. runs-on: ubuntu-20.04
  9. steps:
  10. - uses: actions/checkout@v2
  11. - uses: actions-rs/toolchain@v1
  12. with:
  13. profile: minimal
  14. toolchain: nightly
  15. override: true
  16. - name: Install cargo-fuzz
  17. # Fix for cargo-fuzz on latest nightly: https://github.com/rust-fuzz/cargo-fuzz/issues/276
  18. # Switch back to installing from crates.io when it's released.
  19. #run: cargo install cargo-fuzz
  20. run: cargo install --git https://github.com/rust-fuzz/cargo-fuzz --rev b4df3e58f767b5cad8d1aa6753961003f56f3609
  21. - name: Fuzz
  22. run: cargo fuzz run packet_parser -- -max_len=1536 -max_total_time=30