forked from coturn/coturn
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (45 loc) · 1.38 KB
/
Copy pathcifuzz.yml
File metadata and controls
53 lines (45 loc) · 1.38 KB
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
46
47
48
49
50
51
52
53
name: CIFuzz
on:
pull_request:
branches: ["master"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
fuzz:
runs-on: ubuntu-latest
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
sanitizer: ["address", "memory", "undefined"]
steps:
- uses: actions/checkout@v6
- name: build fuzzers (${{ matrix.sanitizer }})
id: build
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: coturn
language: c
sanitizer: ${{ matrix.sanitizer }}
- name: run fuzzers (${{ matrix.sanitizer }})
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: coturn
language: c
sanitizer: ${{ matrix.sanitizer }}
fuzz-seconds: 600
output-sarif: true
- name: upload crash
uses: actions/upload-artifact@v6
with:
name: ${{ matrix.sanitizer }}_artifacts
path: ./out/artifacts
if: ${{ failure() && steps.build.outcome == 'success' }}
- name: upload sarif
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: cifuzz-sarif/results.sarif
if: ${{ always() && steps.build.outcome == 'success' }}