aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Neat <leosneat@gmail.com>2020-02-20 16:17:50 -0800
committerDaniel Stenberg <daniel@haxx.se>2020-02-21 08:56:44 +0100
commit7224e70f40a45b155d8e5e58f55c8972d07369e7 (patch)
tree48189aa7b852d116c32a98587c4c43bb9641342c
parent0c76795cafe0fccab41b3adc1be08cb81d55024f (diff)
github action: add CIFuzz
Closes #4960
-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 000000000..3a2ac2368
--- /dev/null
+++ b/.github/workflows/fuzz.yml
@@ -0,0 +1,24 @@
+name: CIFuzz
+on: [pull_request]
+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: 'curl'
+ dry-run: true
+ - name: Run Fuzzers
+ uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
+ with:
+ oss-fuzz-project-name: 'curl'
+ fuzz-seconds: 600
+ dry-run: true
+ - name: Upload Crash
+ uses: actions/upload-artifact@v1
+ if: failure()
+ with:
+ name: artifacts
+ path: ./out/artifacts
+