diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml new file mode 100644 index 000000000..76269e887 --- /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