From 8c60edc1f84aeb91580ed3c245125f7ce52f0ee4 Mon Sep 17 00:00:00 2001 From: "H. Joe Lee" Date: Wed, 28 Aug 2024 13:46:21 -0500 Subject: [PATCH] ci(fuzz): add oss-fuzz --- .github/workflows/fuzz.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/fuzz.yml diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml new file mode 100644 index 00000000000..4eab9d27cc5 --- /dev/null +++ b/.github/workflows/fuzz.yml @@ -0,0 +1,25 @@ +name: fuzz +on: + push: + branches: + - develop +jobs: + build: + 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: 'hdf5' + sanitizer: 'memory' + dry-run: false + keep-unaffected-fuzz-targets: true + - name: Run Fuzzers + uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master + with: + oss-fuzz-project-name: 'hdf5' + fuzz-seconds: 600 + output-sarif: true + sanitizer: 'memory' + dry-run: false \ No newline at end of file