From 0c4cd5f0790ed08590f57169d1874b530d5df71a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Theodor=20Nesfeldt=20Eng=C3=B8y?= <140903820+TheodorNEngoy@users.noreply.github.com> Date: Sat, 18 Oct 2025 19:48:36 +0200 Subject: [PATCH] ci: add CIFuzz (#1225) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add OSS-Fuzz CIFuzz workflow to run fuzzers on PRs for project 'cli11'. --------- Co-authored-by: TheodorNEngoy <[email protected]> --- .github/workflows/cifuzz.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/cifuzz.yml diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml new file mode 100644 index 00000000..76269e88 --- /dev/null +++ b/.github/workflows/cifuzz.yml @@ -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