# HG changeset patch # User Matt Johnston # Date 1615044879 -28800 # Node ID 2e5a8332a263eaf61f3fd5068b98d64f3263e5ac # Parent f0cd000f3bca106b714d8dc6ca44c232fdda54c9 fuzz: add cifuzz for github pull requests diff -r f0cd000f3bca -r 2e5a8332a263 .github/workflows/cifuzz.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.github/workflows/cifuzz.yml Sat Mar 06 23:34:39 2021 +0800 @@ -0,0 +1,26 @@ +# Runs fuzzers for a little while on pull requests. +# From https://google.github.io/oss-fuzz/getting-started/continuous-integration/ +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: 'dropbear' + dry-run: false + - name: Run Fuzzers + uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master + with: + oss-fuzz-project-name: 'dropbear' + fuzz-seconds: 1200 + dry-run: false + - name: Upload Crash + uses: actions/upload-artifact@v1 + if: failure() && steps.build.outcome == 'success' + with: + name: artifacts + path: ./out/artifacts