mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
Add fuzzing tests in CI/CD
This commit is contained in:
parent
a263f1f4f1
commit
4babce9749
3 changed files with 34 additions and 0 deletions
28
.github/workflows/cflite.yml
vendored
Normal file
28
.github/workflows/cflite.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
name: ClusterFuzzLite fuzzing
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
fuzz:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
sanitizer:
|
||||
- address
|
||||
- undefined
|
||||
steps:
|
||||
- name: Build Fuzzers (${{ matrix.sanitizer }})
|
||||
id: build
|
||||
uses: google/clusterfuzzlite/actions/build_fuzzers@v1
|
||||
with:
|
||||
language: python
|
||||
sanitizer: ${{ matrix.sanitizer }}
|
||||
- name: Run Fuzzers (${{ matrix.sanitizer }})
|
||||
id: run
|
||||
uses: google/clusterfuzzlite/actions/run_fuzzers@v1
|
||||
with:
|
||||
fuzz-seconds: 3600
|
||||
parallel-fuzzing: true
|
||||
mode: "batch"
|
||||
sanitizer: ${{ matrix.sanitizer }}
|
3
.github/workflows/dev.yml
vendored
3
.github/workflows/dev.yml
vendored
|
@ -70,6 +70,9 @@ jobs:
|
|||
contents: read
|
||||
security-events: write
|
||||
|
||||
cflite:
|
||||
uses: ./.github/workflows/cflite.yml
|
||||
|
||||
# UI tests
|
||||
tests-ui:
|
||||
needs: [codeql, build-containers]
|
||||
|
|
3
.github/workflows/staging.yml
vendored
3
.github/workflows/staging.yml
vendored
|
@ -71,6 +71,9 @@ jobs:
|
|||
contents: read
|
||||
security-events: write
|
||||
|
||||
cflite:
|
||||
uses: ./.github/workflows/cflite.yml
|
||||
|
||||
# Create infrastructures and prepare tests
|
||||
create-infras:
|
||||
needs: [codeql, build-containers, build-packages]
|
||||
|
|
Loading…
Reference in a new issue