mirror of
https://github.com/fmtlib/fmt.git
synced 2026-06-16 00:46:10 +08:00
Match the naming convention used by the other workflows: lowercase, single-word names that describe what the workflow does rather than the tool it uses. Also rename the job from Fuzzing to fuzz for consistency.
33 lines
835 B
YAML
33 lines
835 B
YAML
name: fuzz
|
|
on: [pull_request]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
fuzz:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Build fuzzers
|
|
id: build
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@92182553173581f871130c71c71b17f003d47b0a
|
|
with:
|
|
oss-fuzz-project-name: 'fmt'
|
|
dry-run: false
|
|
language: c++
|
|
|
|
- name: Run fuzzers
|
|
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@92182553173581f871130c71c71b17f003d47b0a
|
|
with:
|
|
oss-fuzz-project-name: 'fmt'
|
|
fuzz-seconds: 300
|
|
dry-run: false
|
|
language: c++
|
|
|
|
- name: Upload crash
|
|
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
|
|
if: failure() && steps.build.outcome == 'success'
|
|
with:
|
|
name: artifacts
|
|
path: ./out/artifacts
|