Skip to content

ClusterFuzzLite batch fuzzing #22

ClusterFuzzLite batch fuzzing

ClusterFuzzLite batch fuzzing #22

Workflow file for this run

name: ClusterFuzzLite batch fuzzing
on:
schedule:
- cron: '0 0/6 * * *'
workflow_dispatch:
inputs:
fuzz-seconds:
description: 'The total time allotted for fuzzing in seconds.'
required: true
default: 3600
permissions: read-all
jobs:
BatchFuzzing:
runs-on: ubuntu-latest
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
sanitizer:
- address
steps:
- name: Build Fuzzers (${{ matrix.sanitizer }})
id: build
uses: google/clusterfuzzlite/actions/build_fuzzers@v1
with:
language: swift
sanitizer: ${{ matrix.sanitizer }}
- name: Run Fuzzers (${{ matrix.sanitizer }})
id: run
uses: google/clusterfuzzlite/actions/run_fuzzers@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fuzz-seconds: ${{ github.event.inputs.fuzz-seconds || 3600 }}
mode: 'batch'
sanitizer: ${{ matrix.sanitizer }}
output-sarif: true
storage-repo: https://${{ secrets.SWIFTWASM_BOT_GITHUB_TOKEN }}@github.com/swiftwasm/wasmkit-fuzz-corpora.git
storage-repo-branch: main
storage-repo-branch-coverage: gh-pages
- name: Upload Sarif
if: always() && steps.build.outcome == 'success'
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: cifuzz-sarif/results.sarif
checkout_path: cifuzz-sarif