From db5f3b38b7d5145e45ec4d32cd933eb02e8a4f47 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Sat, 18 Apr 2020 10:50:56 +0200 Subject: Adds CIFuzz to check PRs cf https://google.github.io/oss-fuzz/getting-started/continuous-integration/ --- .github/workflows/cifuzz.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/cifuzz.yml (limited to '.github/workflows') diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml new file mode 100644 index 000000000..ed7b56f2a --- /dev/null +++ b/.github/workflows/cifuzz.yml @@ -0,0 +1,23 @@ +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: 'ndpi' + dry-run: false + - name: Run Fuzzers + uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master + with: + oss-fuzz-project-name: 'ndpi' + fuzz-seconds: 600 + dry-run: false + - name: Upload Crash + uses: actions/upload-artifact@v1 + if: failure() + with: + name: artifacts + path: ./out/artifacts -- cgit v1.2.3