[master] c0ff10a73 github actions: add CIFuzz integration

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Nov 29 14:37:06 UTC 2021


commit c0ff10a7357c2b8085757dca3fe281cb747506db
Author: David Korczynski <david at adalogics.com>
Date:   Fri Nov 26 18:39:22 2021 +0000

    github actions: add CIFuzz integration

diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml
new file mode 100644
index 000000000..a18f1333c
--- /dev/null
+++ b/.github/workflows/cifuzz.yml
@@ -0,0 +1,26 @@
+name: CIFuzz
+on: [pull_request]
+jobs:
+  Fuzzing:
+    runs-on: ubuntu-latest
+    steps:
+    - name: Build Fuzzers
+      id: build
+      uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers at master
+      with:
+        oss-fuzz-project-name: 'varnish'
+        dry-run: false
+        language: c
+    - name: Run Fuzzers
+      uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers at master
+      with:
+        oss-fuzz-project-name: 'varnish'
+        fuzz-seconds: 600
+        dry-run: false
+        language: c
+    - name: Upload Crash
+      uses: actions/upload-artifact at v1
+      if: failure() && steps.build.outcome == 'success'
+      with:
+        name: artifacts
+        path: ./out/artifacts


More information about the varnish-commit mailing list