Skip to content

Add support to fuzz with sanitizers #39

Add support to fuzz with sanitizers

Add support to fuzz with sanitizers #39

Workflow file for this run

name: oss-fuzz
on: [pull_request]
jobs:
fuzz:
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: 'jansson'
sanitizer: [address, undefined, memory]

Check failure on line 14 in .github/workflows/fuzz.yml

View workflow run for this annotation

GitHub Actions / oss-fuzz

Invalid workflow file

The workflow is not valid. .github/workflows/fuzz.yml (Line: 14, Col: 20): A sequence was not expected .github/workflows/fuzz.yml (Line: 20, Col: 20): A sequence was not expected
dry-run: false
- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: 'jansson'
sanitizer: [address, undefined, memory]
fuzz-seconds: 600
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@v1
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
path: ./out/artifacts