fmt/.github/workflows/cifuzz.yml

33 lines
840 B
YAML
Raw Normal View History

name: CIFuzz
on: [pull_request]
permissions:
contents: read
jobs:
Fuzzing:
runs-on: ubuntu-latest
steps:
2024-06-09 16:51:19 -07:00
- name: Build fuzzers
id: build
2024-10-18 12:33:42 -07:00
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@92182553173581f871130c71c71b17f003d47b0a
with:
oss-fuzz-project-name: 'fmt'
dry-run: false
language: c++
2024-10-13 09:43:09 -07:00
2024-06-09 16:51:19 -07:00
- name: Run fuzzers
2024-10-18 12:33:42 -07:00
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@92182553173581f871130c71c71b17f003d47b0a
with:
oss-fuzz-project-name: 'fmt'
fuzz-seconds: 300
dry-run: false
language: c++
2024-10-13 09:43:09 -07:00
2024-06-09 16:51:19 -07:00
- name: Upload crash
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
path: ./out/artifacts