diff options
author | jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> | 2021-02-19 11:54:15 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 11:54:15 -0800 |
commit | 28b35e36fea5284c45f56d92e06153cc5b502945 (patch) | |
tree | 5c591387c20e1ea129a74fd8070ef4b9711f1e65 /infra/cifuzz/actions/build_fuzzers/action.yml | |
parent | bf0720d322057c505eb462bab697d874e27e5e98 (diff) | |
download | oss-fuzz-28b35e36fea5284c45f56d92e06153cc5b502945.tar.gz |
[CIFuzz] Support languages non-C++ projects (e.g. Python projects) (#5222)
Allow use of non-C++ projects by specifying the language in the workflow file.
Fixes #5195
Diffstat (limited to 'infra/cifuzz/actions/build_fuzzers/action.yml')
-rw-r--r-- | infra/cifuzz/actions/build_fuzzers/action.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/infra/cifuzz/actions/build_fuzzers/action.yml b/infra/cifuzz/actions/build_fuzzers/action.yml index 2919db40e..35ff010b3 100644 --- a/infra/cifuzz/actions/build_fuzzers/action.yml +++ b/infra/cifuzz/actions/build_fuzzers/action.yml @@ -5,6 +5,10 @@ inputs: oss-fuzz-project-name: description: 'Name of the corresponding OSS-Fuzz project.' required: true + language: + description: 'Programming language project is written in.' + required: false + default: 'c++' dry-run: description: 'If set, run the action without actually reporting a failure.' default: false @@ -25,6 +29,7 @@ runs: image: '../../../build_fuzzers.Dockerfile' env: OSS_FUZZ_PROJECT_NAME: ${{ inputs.oss-fuzz-project-name }} + LANGUAGE: ${{ inputs.language }} DRY_RUN: ${{ inputs.dry-run}} ALLOWED_BROKEN_TARGETS_PERCENTAGE: ${{ inputs.allowed-broken-targets-percentage}} SANITIZER: ${{ inputs.sanitizer }} |