summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDavidKorczynski <david@adalogics.com>2023-03-07 03:13:47 +0000
committerGitHub <noreply@github.com>2023-03-07 03:13:47 +0000
commit224d321a4985274d0ca7602823d05ec0558663de (patch)
treeba0d8f24acdd97ff802d6466eabb8b48091dceec /.github
parent9adc95b5dfc4c0f70582d2077de77fbda2617855 (diff)
downloadwabt-224d321a4985274d0ca7602823d05ec0558663de.tar.gz
wabt-224d321a4985274d0ca7602823d05ec0558663de.tar.bz2
wabt-224d321a4985274d0ca7602823d05ec0558663de.zip
CI: add CIFuzz action (#2073)
Signed-off-by: David Korczynski <david@adalogics.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/wabt-cifuzz.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/wabt-cifuzz.yml b/.github/workflows/wabt-cifuzz.yml
new file mode 100644
index 00000000..824208c3
--- /dev/null
+++ b/.github/workflows/wabt-cifuzz.yml
@@ -0,0 +1,22 @@
+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@master
+ with:
+ oss-fuzz-project-name: 'wabt'
+ - name: Run Fuzzers
+ uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
+ with:
+ oss-fuzz-project-name: 'wabt'
+ fuzz-seconds: 300
+ - name: Upload Crash
+ uses: actions/upload-artifact@v3
+ if: failure() && steps.build.outcome == 'success'
+ with:
+ name: artifacts
+ path: ./out/artifacts