2020-05-06 13:39:23 +02:00
|
|
|
name: Fuzzers
|
2020-07-04 18:18:04 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- '.github/workflows/Fuzzers.yaml'
|
|
|
|
- 'src/*'
|
|
|
|
- 'tests/*fuzzer.cpp'
|
2020-05-06 13:39:23 +02:00
|
|
|
jobs:
|
|
|
|
Fuzzing:
|
|
|
|
runs-on: ubuntu-latest
|
2020-07-04 18:18:04 +02:00
|
|
|
if: github.repository == 'zeromq/libzmq'
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
san: [address, memory, undefined]
|
2020-05-06 13:39:23 +02:00
|
|
|
steps:
|
2020-07-04 18:18:04 +02:00
|
|
|
- name: Build Fuzzers (${{ matrix.san }})
|
2020-05-06 13:39:23 +02:00
|
|
|
id: build
|
|
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
|
|
|
|
with:
|
2020-07-04 18:18:04 +02:00
|
|
|
sanitizer: ${{ matrix.san }}
|
2020-05-06 13:39:23 +02:00
|
|
|
oss-fuzz-project-name: 'libzmq'
|
2020-07-04 18:18:04 +02:00
|
|
|
allowed-broken-targets-percentage: 0
|
2020-05-06 13:39:23 +02:00
|
|
|
dry-run: false
|
2020-07-04 18:18:04 +02:00
|
|
|
- name: Run Fuzzers (${{ matrix.san }})
|
2020-07-04 20:06:27 +02:00
|
|
|
id: run
|
2020-07-04 18:18:04 +02:00
|
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
|
|
|
|
with:
|
|
|
|
sanitizer: ${{ matrix.san }}
|
|
|
|
oss-fuzz-project-name: 'libzmq'
|
|
|
|
allowed-broken-targets-percentage: 0
|
|
|
|
dry-run: false
|
|
|
|
fuzz-seconds: 300
|