Skip to content

ClusterFuzzLite cron-jobs #323

ClusterFuzzLite cron-jobs

ClusterFuzzLite cron-jobs #323

Workflow file for this run

name: ClusterFuzzLite cron-jobs
on:
schedule:
- cron: '0 0 * * *' # Once a day at midnight
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}-${{ github.event.schedule }}
cancel-in-progress: true
jobs:
fuzz-prune:
runs-on: ubuntu-latest
steps:
- name: Build fuzzers
id: build
uses: eliaskosunen/clusterfuzzlite/actions/build_fuzzers@main
with:
language: c++
- name: Run fuzzers
id: run
uses: eliaskosunen/clusterfuzzlite/actions/run_fuzzers@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fuzz-seconds: 86400
mode: 'prune'
output-sarif: true
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/eliaskosunen/scnlib-fuzz-corpus.git
fuzz-coverage:
runs-on: ubuntu-latest
steps:
- name: Build fuzzers
id: build
uses: eliaskosunen/clusterfuzzlite/actions/build_fuzzers@main
with:
language: c++
sanitizer: coverage
- name: Run fuzzers
id: run
uses: eliaskosunen/clusterfuzzlite/actions/run_fuzzers@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fuzz-seconds: 600
mode: 'coverage'
sanitizer: 'coverage'
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/eliaskosunen/scnlib-fuzz-corpus.git