-
Notifications
You must be signed in to change notification settings - Fork 50
45 lines (37 loc) · 1.11 KB
/
fuzz_pr.yml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: ClusterFuzzLite PR fuzzing
on:
pull_request:
paths:
- "**"
permissions: read-all
jobs:
fuzz:
name: Fuzz test PR
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflows }}-${{ matrix.sanitizer }}-${{ github.ref }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
sanitizer:
- address
# XXX: UBSan fails due to SHR operator being able to exceed word size
# - undefined
# FIXME: MSan fail due to zf_ctx not being fully initialized by zf_init
# - memory
steps:
- name: Build Fuzzers (${{ matrix.sanitizer }})
uses: google/clusterfuzzlite/actions/build_fuzzers@v1
with:
language: c
github-token: ${{ github.token }}
sanitizer: ${{ matrix.sanitizer }}
- name: Run Fuzzers (${{ matrix.sanitizer }})
uses: google/clusterfuzzlite/actions/run_fuzzers@v1
with:
github-token: ${{ github.token }}
fuzz-seconds: 300
mode: code-change
parallel-fuzzing: true
output-sarif: true