-
Notifications
You must be signed in to change notification settings - Fork 50
52 lines (44 loc) · 1.59 KB
/
fuzz-cron.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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