Skip to content

Commit

Permalink
Fix doc timeouts and ooms and allow these options in GH Action (#12003)
Browse files Browse the repository at this point in the history
  • Loading branch information
ligurio committed Jun 7, 2024
1 parent ec400c9 commit a7c524d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/getting-started/continuous_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ and the `Run Fuzzers` sanitizer field needs to be the same. To specify a list of
a [matrix](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix)
can be used. To use a sanitizer add it to the list of sanitizers in the matrix field below:

`report-timeouts`: Determines whether to report fails due to timeouts.

`report-ooms`: Determines whether to report fails due to OOM.

```yaml
{% raw %}
name: CIFuzz
Expand Down
10 changes: 10 additions & 0 deletions infra/cifuzz/external-actions/run_fuzzers/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ inputs:
description: "Whether to output fuzzing results to SARIF."
required: false
default: false
report-timeouts:
description: "Whether to report fails due to timeout."
required: false
default: true
report-ooms:
description: "Whether to report fails due to OOM."
required: false
default: true
runs:
using: 'docker'
image: '../../../run_fuzzers.Dockerfile'
Expand All @@ -85,3 +93,5 @@ runs:
CFL_PLATFORM: 'github'
PARALLEL_FUZZING: ${{ inputs.parallel-fuzzing }}
OUTPUT_SARIF: ${{ inputs.output-sarif }}
REPORT_TIMEOUTS: ${{ inputs.report-timeouts }}
REPORT_OOMS: ${{ inputs.report-ooms}}

0 comments on commit a7c524d

Please sign in to comment.