From 224d321a4985274d0ca7602823d05ec0558663de Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Tue, 7 Mar 2023 03:13:47 +0000 Subject: CI: add CIFuzz action (#2073) Signed-off-by: David Korczynski --- .github/workflows/wabt-cifuzz.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/wabt-cifuzz.yml (limited to '.github') 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 -- cgit v1.2.3