mirror of
https://github.com/CLIUtils/CLI11.git
synced 2026-01-19 04:52:08 +00:00
ci: add CIFuzz (#1225)
Add OSS-Fuzz CIFuzz workflow to run fuzzers on PRs for project 'cli11'. --------- Co-authored-by: TheodorNEngoy <[email protected]>
This commit is contained in:
committed by
GitHub
parent
16a2840b4e
commit
0c4cd5f079
31
.github/workflows/cifuzz.yml
vendored
Normal file
31
.github/workflows/cifuzz.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
name: CIFuzz
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
fuzz:
|
||||
runs-on: ubuntu-latest
|
||||
# keep CI green while OSS-Fuzz project is not merged yet
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Build Fuzzers (dry run)
|
||||
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
|
||||
with:
|
||||
oss-fuzz-project-name: cli11
|
||||
language: c++
|
||||
dry-run: true
|
||||
|
||||
- name: Run Fuzzers (dry run)
|
||||
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
|
||||
with:
|
||||
oss-fuzz-project-name: cli11
|
||||
language: c++
|
||||
fuzz-seconds: 600
|
||||
dry-run: true
|
||||
Reference in New Issue
Block a user