ci: use matrix for fuzz targets
to make them run in parallel
This commit is contained in:
parent
5de8543bb0
commit
88a872cd88
1 changed files with 7 additions and 5 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -68,6 +68,11 @@ jobs:
|
|||
run: make lint
|
||||
fuzz:
|
||||
name: Fuzz
|
||||
strategy:
|
||||
matrix:
|
||||
target:
|
||||
- parse
|
||||
- html
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
|
@ -77,13 +82,10 @@ jobs:
|
|||
rustup update nightly
|
||||
rustup default nightly
|
||||
cargo install afl
|
||||
- name: "Fuzz parser"
|
||||
- name: "Fuzz"
|
||||
run: |
|
||||
echo core | sudo tee /proc/sys/kernel/core_pattern
|
||||
AFL_TARGET=parse make afl_quick
|
||||
- name: "Fuzz html"
|
||||
run: |
|
||||
AFL_TARGET=html make afl_quick
|
||||
AFL_TARGET=${{ matrix.target }} make afl_quick
|
||||
bench:
|
||||
name: Benchmark
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue