Skip to content

Commit 0c4cd5f

Browse files
ci: add CIFuzz (#1225)
Add OSS-Fuzz CIFuzz workflow to run fuzzers on PRs for project 'cli11'. --------- Co-authored-by: TheodorNEngoy <[email protected]>
1 parent 16a2840 commit 0c4cd5f

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/cifuzz.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CIFuzz
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
fuzz:
12+
runs-on: ubuntu-latest
13+
# keep CI green while OSS-Fuzz project is not merged yet
14+
continue-on-error: true
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Build Fuzzers (dry run)
19+
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
20+
with:
21+
oss-fuzz-project-name: cli11
22+
language: c++
23+
dry-run: true
24+
25+
- name: Run Fuzzers (dry run)
26+
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
27+
with:
28+
oss-fuzz-project-name: cli11
29+
language: c++
30+
fuzz-seconds: 600
31+
dry-run: true

0 commit comments

Comments
 (0)