sof/.github/workflows/scant_fuzzer.yml

33 lines
914 B
YAML
Raw Normal View History

---
# For the actual fuzzer see tools/oss-fuzz/README.
# also see
# https://google.github.io/oss-fuzz/getting-started/continuous-integration/
#
# Build and run fuzzer for 5s to check if it runs properly. If it consistently
# fails in under 5s you probably did something wrong
name: Scant fuzz compile
# 'workflow_dispatch' allows running this workflow manually from the
# 'Actions' tab
# yamllint disable-line rule:truthy
on: [pull_request, workflow_dispatch]
jobs:
scant-fuzzer-build:
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: 'sound-open-firmware'
- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: 'sound-open-firmware'
language: c
fuzz-seconds: 5