-
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 1.42 KB
/
Copy pathcflite_batch.yml
File metadata and controls
36 lines (36 loc) · 1.42 KB
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
# SPDX-License-Identifier: MPL-2.0
name: ClusterFuzzLite Batch
on:
schedule:
- cron: '0 0 * * 0' # Weekly
permissions: read-all
jobs:
BatchFuzzing:
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
# ASan only: Rust/cargo-fuzz can't emit a valid UBSan binary (links ASan
# regardless), so `undefined` failed bad_build_check. See project.yaml.
sanitizer: [address]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v5
- uses: google/clusterfuzzlite/actions/build_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1
with:
language: rust
sanitizer: ${{ matrix.sanitizer }}
- uses: google/clusterfuzzlite/actions/run_fuzzers@884713a6c30a92e5e8544c39945cd7cb630abcd1 # v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fuzz-seconds: 1800
sanitizer: ${{ matrix.sanitizer }}
mode: batch
output-sarif: true
- uses: github/codeql-action/upload-sarif@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v3
# Only upload when a SARIF was actually produced: a CLEAN fuzz run
# (no crashes) writes no `vulnerabilities.sarif`, and an unconditional
# `always()` upload then fails with "Path does not exist".
if: always() && hashFiles('vulnerabilities.sarif') != ''
with:
sarif_file: vulnerabilities.sarif