mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Problem: fuzzers not run in PRs
Solution: do it
This commit is contained in:
parent
e95e57d385
commit
877978adf7
28
.github/workflows/Fuzzers.yaml
vendored
28
.github/workflows/Fuzzers.yaml
vendored
@ -1,13 +1,35 @@
|
||||
name: Fuzzers
|
||||
on: [pull_request]
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/Fuzzers.yaml'
|
||||
- 'src/*'
|
||||
- 'tests/*fuzzer.cpp'
|
||||
jobs:
|
||||
Fuzzing:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'zeromq/libzmq'
|
||||
strategy:
|
||||
matrix:
|
||||
san: [address, memory, undefined]
|
||||
steps:
|
||||
- name: Build Fuzzers
|
||||
- name: Build Fuzzers (${{ matrix.san }})
|
||||
id: build
|
||||
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
|
||||
with:
|
||||
sanitizer: ${{ matrix.san }}
|
||||
oss-fuzz-project-name: 'libzmq'
|
||||
allowed-broken-targets-percentage: 0
|
||||
dry-run: false
|
||||
- name: Run Fuzzers (${{ matrix.san }})
|
||||
id: build
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user