From: Frantisek Sumsal Date: Fri, 24 Apr 2020 10:00:44 +0000 (+0200) Subject: ci: introduce CIFuzz X-Git-Tag: v246-rc1~492 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;ds=sidebyside;h=3b4ea094e22b32a6da4775d64c6021cd76069997;p=thirdparty%2Fsystemd.git ci: introduce CIFuzz Per-PR fuzzing provided by OSS-Fuzz using GH workflows. See: https://google.github.io/oss-fuzz/getting-started/continuous-integration/ --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000000..e30133722a7 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +--- +# vi: ts=2 sw=2 et: +# See: 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 + uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master + with: + oss-fuzz-project-name: 'systemd' + dry-run: false + - name: Run Fuzzers + uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master + with: + oss-fuzz-project-name: 'systemd' + fuzz-seconds: 600 + dry-run: false + - name: Upload Crash + uses: actions/upload-artifact@v1 + if: failure() + with: + name: artifacts + path: ./out/artifacts