File: fuzz.yml

package info (click to toggle)
rust-fast-float2 0.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 272 kB
  • sloc: makefile: 2
file content (25 lines) | stat: -rw-r--r-- 588 bytes parent folder | download
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
name: Fuzz

on:
  [pull_request, workflow_dispatch]

jobs:
  fuzz:
    name: Fuzz  ${{matrix.target}}
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        target: [fast_float, roundtrip_f64]
    steps:
      - uses: actions/checkout@v2
        with:
          submodules: recursive
      - uses: dtolnay/rust-toolchain@master
        with:
          toolchain: nightly
      - run: cargo install cargo-fuzz
      - run: cargo check
      - run: |
            cd fuzz
            cargo +nightly fuzz run --release ${{matrix.target}} -- -max_total_time=300