diff options
author | Leo Neat <leosneat@gmail.com> | 2020-02-06 13:39:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 13:39:42 -0800 |
commit | 5cefaac000b3b6c5c1e9db908ba8c970dfb55f51 (patch) | |
tree | 4f12217dd0c34d52426ba364d5c3c7b09fc7d3bb /infra/cifuzz/example_main.yml | |
parent | 69f75431fe26e48a03b01599228142cce7da0ab6 (diff) | |
download | oss-fuzz-5cefaac000b3b6c5c1e9db908ba8c970dfb55f51.tar.gz |
[CIFuzz] Separate build and run actions (#3336)
* Separating actions into build and run
* Formatting
* Formatting
* Removing project-name from run action
* Jonathan comments
* Maxs comments pt.1
* Updating example_main.yml
* Switch 1 0 to true false
* Add base Dockerfile for CIFuzz
* Adding license to dockerfile
Diffstat (limited to 'infra/cifuzz/example_main.yml')
-rw-r--r-- | infra/cifuzz/example_main.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/infra/cifuzz/example_main.yml b/infra/cifuzz/example_main.yml new file mode 100644 index 000000000..576c84a28 --- /dev/null +++ b/infra/cifuzz/example_main.yml @@ -0,0 +1,26 @@ +name: CIFuzz + +on: [push] + +jobs: + Fuzzing: + + runs-on: ubuntu-latest + + steps: + - name: Build Fuzzers + uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master + with: + project-name: 'example' + dry-run: false + - name: Run Fuzzers + uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master + with: + fuzz-time: 600 + dry-run: false + - name: Upload Crash + uses: actions/upload-artifact@v1 + if: failure() + with: + name: fuzzer_testcase + path: ./out/testcase |