File: fuzz.yml

package info (click to toggle)
rust-percent-encoding-rfc3986 0.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 168 kB
  • sloc: makefile: 2
file content (26 lines) | stat: -rw-r--r-- 645 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Fuzz

on: [push, pull_request]

jobs:

  fuzz:
    runs-on: ubuntu-20.04
    strategy:
      matrix:
        fuzz_target: [round_trip, decode]
    steps:
      - uses: actions/checkout@v2
      - uses: Swatinem/rust-cache@v1.2.0
        id: cache-fuzz
        with:
          key: ${{ matrix.fuzz_target }}
      - uses: actions-rs/toolchain@v1
        with:
          toolchain: nightly
          override: true
          profile: minimal
      - run: cargo install cargo-fuzz
        if: steps.cache-fuzz.outputs.cache-hit != 'true'
      - name: fuzz
        run: cargo +nightly fuzz run ${{ matrix.fuzz_target }} -- -max_total_time=60