From 93e3b2e99bfefec00382cf19df876d83c8811950 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 3 Mar 2020 22:39:42 +0100 Subject: [PATCH] Enable CI Fuzz: run our fuzz targets each time a pull request is submitted --- .github/workflows/fuzz.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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 0000000000..9083017e85 --- /dev/null +++ b/.github/workflows/fuzz.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: 'powerdns' + dry-run: true + - name: Run Fuzzers + uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master + with: + oss-fuzz-project-name: 'powerdns' + fuzz-seconds: 600 + dry-run: true + - name: Upload Crash + uses: actions/upload-artifact@v1 + if: failure() + with: + name: artifacts + path: ./out/artifacts -- 2.47.2