aboutsummaryrefslogtreecommitdiff
path: root/infra/cifuzz/actions/run_fuzzers/action.yml
diff options
context:
space:
mode:
authorjonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2021-02-01 10:49:33 -0800
committerGitHub <noreply@github.com>2021-02-01 10:49:33 -0800
commit95d3905ec9079ab42052a9e96b33de6aade77257 (patch)
treec6b869e5ffe364ad4cabbe88f9e3e8e21401d0f8 /infra/cifuzz/actions/run_fuzzers/action.yml
parentb19e7001928b08f9ae8fd3c017688cd5edf96cb2 (diff)
downloadoss-fuzz-95d3905ec9079ab42052a9e96b33de6aade77257.tar.gz
[cifuzz] Support a batch fuzzing mode (#5073)
In this mode, CIFuzz will keep fuzzing until the time limit is reached, even if a crash was found.
Diffstat (limited to 'infra/cifuzz/actions/run_fuzzers/action.yml')
-rw-r--r--infra/cifuzz/actions/run_fuzzers/action.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/infra/cifuzz/actions/run_fuzzers/action.yml b/infra/cifuzz/actions/run_fuzzers/action.yml
index 8434753f5..42cb2ddaf 100644
--- a/infra/cifuzz/actions/run_fuzzers/action.yml
+++ b/infra/cifuzz/actions/run_fuzzers/action.yml
@@ -15,6 +15,14 @@ inputs:
sanitizer:
description: 'The sanitizer to run the fuzzers with.'
default: 'address'
+ run-fuzzers-mode:
+ description: |
+ The mode to run the fuzzers with ("ci" or "batch").
+ "ci" is for fuzzing a pull request or commit.
+ "batch" is for non-interactive fuzzing of an entire project.
+ "batch" is in alpha and should not be used in production.
+ required: false
+ default: 'ci'
runs:
using: 'docker'
image: '../../../run_fuzzers.Dockerfile'
@@ -23,3 +31,4 @@ runs:
FUZZ_SECONDS: ${{ inputs.fuzz-seconds }}
DRY_RUN: ${{ inputs.dry-run}}
SANITIZER: ${{ inputs.sanitizer }}
+ RUN_FUZZERS_MODE: ${{ inputs.run-fuzzers-mode }}