mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
b61c8c3d23
* Change actions/github-script from e69ef54 -> 60a0d83 * Change google/oss-fuzz action from 32f1d4d to 9218255
31 lines
856 B
YAML
31 lines
856 B
YAML
name: CIFuzz
|
|
on: [pull_request]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
Fuzzing:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Build fuzzers
|
|
id: build
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@92182553173581f871130c71c71b17f003d47b0a # master
|
|
with:
|
|
oss-fuzz-project-name: 'fmt'
|
|
dry-run: false
|
|
language: c++
|
|
- name: Run fuzzers
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@92182553173581f871130c71c71b17f003d47b0a # master
|
|
with:
|
|
oss-fuzz-project-name: 'fmt'
|
|
fuzz-seconds: 300
|
|
dry-run: false
|
|
language: c++
|
|
- name: Upload crash
|
|
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
|
|
if: failure() && steps.build.outcome == 'success'
|
|
with:
|
|
name: artifacts
|
|
path: ./out/artifacts
|