Skip to content

Commit 1c8e703

Browse files
committed
Fuzz every target
1 parent 64c9747 commit 1c8e703

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/fuzz.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ on:
99
jobs:
1010
fuzzing:
1111
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
target:
15+
- fuzz_amf0_body
16+
- fuzz_amf0_element_array
17+
- fuzz_amf0_header
18+
- fuzz_amf3_body
19+
- fuzz_amf3_int_signed
20+
- fuzz_amf3_int_unsigned
21+
- fuzz_amf3_string
1222
steps:
1323
- uses: actions/checkout@v4
1424

@@ -22,10 +32,10 @@ jobs:
2232

2333
- name: Run Fuzzing
2434
run: |
25-
cargo fuzz run fuzz_amf0_body -- -max_total_time=180
35+
cargo fuzz run ${{ matrix.target }} ${{ contains(matrix.target, 'amf3') && '--features amf3' || ''}} -- -max_total_time=180
2636
2737
- uses: actions/upload-artifact@v4
2838
if: failure()
2939
with:
30-
name: fuzz-failures
40+
name: ${{ matrix.target }}
3141
path: fuzz/artifacts/

0 commit comments

Comments
 (0)