summaryrefslogtreecommitdiffstats
path: root/.github/workflows/fuzz.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/fuzz.yml')
-rw-r--r--.github/workflows/fuzz.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml
new file mode 100644
index 0000000..720b25f
--- /dev/null
+++ b/.github/workflows/fuzz.yml
@@ -0,0 +1,24 @@
+name: CIFuzz
+on: [pull_request]
+permissions: read-all
+jobs:
+ Fuzzing:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Build Fuzzers
+ uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
+ with:
+ oss-fuzz-project-name: 'nghttp2'
+ dry-run: false
+ - name: Run Fuzzers
+ uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
+ with:
+ oss-fuzz-project-name: 'nghttp2'
+ fuzz-seconds: 600
+ dry-run: false
+ - name: Upload Crash
+ uses: actions/upload-artifact@v4
+ if: failure()
+ with:
+ name: artifacts
+ path: ./out/artifacts