aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/cifuzz/actions
diff options
context:
space:
mode:
authorGravatar jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2021-02-03 12:46:19 -0800
committerGravatar GitHub <noreply@github.com>2021-02-03 12:46:19 -0800
commit7f150fe75e2a50cde54169fd638b942b92556fe2 (patch)
tree0700e6617d8ca758732c159eeb3ec90c27d0d46d /infra/cifuzz/actions
parente7bd7fc5e355a4a36754002c61fb505bd23fcb91 (diff)
[cifuzz] Abstract-away OSS-Fuzz specific bits (#5088)
Abstract away OSS-Fuzz specific bits into the OSSFuzz implementation of the ClusterFuzzDeployment class. This will make it easier to implement support for other deployments of ClusterFuzz (including ClusterFuzzLite).
Diffstat (limited to 'infra/cifuzz/actions')
-rw-r--r--infra/cifuzz/actions/run_fuzzers/action.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/infra/cifuzz/actions/run_fuzzers/action.yml b/infra/cifuzz/actions/run_fuzzers/action.yml
index 42cb2dda..582133c7 100644
--- a/infra/cifuzz/actions/run_fuzzers/action.yml
+++ b/infra/cifuzz/actions/run_fuzzers/action.yml
@@ -15,6 +15,9 @@ inputs:
sanitizer:
description: 'The sanitizer to run the fuzzers with.'
default: 'address'
+ build-integration-path:
+ description: "The path to the the project's build integration."
+ required: false
run-fuzzers-mode:
description: |
The mode to run the fuzzers with ("ci" or "batch").
@@ -32,3 +35,7 @@ runs:
DRY_RUN: ${{ inputs.dry-run}}
SANITIZER: ${{ inputs.sanitizer }}
RUN_FUZZERS_MODE: ${{ inputs.run-fuzzers-mode }}
+ # TODO(metzman): Even though this param is used for building, it's needed
+ # for running because we use it to distinguish OSS-Fuzz from non-OSS-Fuzz.
+ # We should do something explicit instead.
+ BUILD_INTEGRATION_PATH: ${{ inputs.build-integration-path }}