Skip to content

Commit ddc562b

Browse files
committed
cfl: update workflows
- Updated a `fuzz-seconds`, the amount of time spent fuzzing. On GitHub Free plan [1] 2.000 minutes are available, so it is allowed about 1 hour per day. - Removed `minimize-crashes`, `report-unreproducible-crashes` and `report-ooms`, these options are unused [2]. - Added `language`, `parallel-fuzzing`, where these options were absent. 1. https://docs.github.com/en/billing/managing-billing-for-your-products/managing-billing-for-github-actions/about-billing-for-github-actions#included-storage-and-minutes 2. https://google.github.io/clusterfuzzlite/running-clusterfuzzlite/github-actions/
1 parent 89071b0 commit ddc562b

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

.github/workflows/cflite_batch.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,18 @@ jobs:
2727
id: build
2828
uses: google/clusterfuzzlite/actions/build_fuzzers@main
2929
with:
30+
language: c
3031
sanitizer: ${{ matrix.sanitizer }}
3132
- name: Run fuzzing tests (${{ matrix.sanitizer }})
3233
id: run
3334
uses: google/clusterfuzzlite/actions/run_fuzzers@main
3435
with:
35-
fuzz-seconds: 7200
36+
language: c
37+
fuzz-seconds: 3600
3638
github-token: ${{ secrets.GITHUB_TOKEN }}
37-
minimize-crashes: true
38-
report-ooms: false
3939
mode: 'batch'
4040
output-sarif: true
4141
parallel-fuzzing: true
42-
report-unreproducible-crashes: true
4342
sanitizer: ${{ matrix.sanitizer }}
4443
storage-repo-branch-coverage: gh-pages
4544
storage-repo-branch: cfl

.github/workflows/cflite_cron.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ jobs:
2424
id: build
2525
uses: google/clusterfuzzlite/actions/build_fuzzers@main
2626
with:
27+
language: c
2728
sanitizer: coverage
2829
- name: Run fuzzing tests
2930
id: run
3031
uses: google/clusterfuzzlite/actions/run_fuzzers@main
3132
with:
3233
fuzz-seconds: 600
3334
github-token: ${{ secrets.GITHUB_TOKEN }}
34-
minimize-crashes: true
3535
mode: 'coverage'
36+
sanitizer: 'coverage'
3637
parallel-fuzzing: true
37-
report-unreproducible-crashes: true
3838
storage-repo-branch-coverage: gh-pages
3939
storage-repo-branch: cfl
4040
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lua-c-api-corpus
@@ -53,17 +53,17 @@ jobs:
5353
- name: Build Fuzzers
5454
id: build
5555
uses: google/clusterfuzzlite/actions/build_fuzzers@main
56+
with:
57+
language: c
5658
- name: Run Fuzzers
5759
id: run
5860
uses: google/clusterfuzzlite/actions/run_fuzzers@main
5961
with:
60-
fuzz-seconds: 1800
62+
fuzz-seconds: 600
6163
github-token: ${{ secrets.GITHUB_TOKEN }}
62-
minimize-crashes: true
6364
mode: 'prune'
6465
output-sarif: true
6566
parallel-fuzzing: true
66-
report-unreproducible-crashes: true
6767
storage-repo-branch-coverage: gh-pages
6868
storage-repo-branch: cfl
6969
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lua-c-api-corpus

.github/workflows/cflite_pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@ jobs:
5151
sanitizer: ${{ matrix.sanitizer }}
5252
github-token: ${{ secrets.GITHUB_TOKEN }}
5353
storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lua-c-api-corpus
54+
storage-repo-branch: cfl
5455
storage-repo-branch-coverage: gh-pages
5556
- name: Run fuzzing tests (${{ matrix.sanitizer }})
5657
id: run
5758
uses: google/clusterfuzzlite/actions/run_fuzzers@main
5859
with:
5960
fuzz-seconds: 120
6061
github-token: ${{ secrets.GITHUB_TOKEN }}
61-
minimize-crashes: true
6262
mode: 'code-change'
6363
output-sarif: true
64-
report-unreproducible-crashes: true
64+
parallel-fuzzing: true
6565
sanitizer: ${{ matrix.sanitizer }}
6666
storage-repo-branch-coverage: gh-pages
6767
storage-repo-branch: cfl

0 commit comments

Comments
 (0)