From 28b35e36fea5284c45f56d92e06153cc5b502945 Mon Sep 17 00:00:00 2001 From: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> Date: Fri, 19 Feb 2021 11:54:15 -0800 Subject: [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 --- infra/cifuzz/actions/build_fuzzers/action.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'infra/cifuzz/actions/build_fuzzers/action.yml') 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 }} -- cgit v1.2.3