Skip to content

Commit

Permalink
Run cargo cmin before uploading seed corpus
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean committed Apr 11, 2024
1 parent e78c370 commit c31ddf3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ jobs:
name: fuzz_read_bad_inputs
path: fuzz/artifacts/fuzz_read/crash-*
if-no-files-found: ignore
- name: Minimize seed corpus
if: always()
uses: actions-rs/cargo@v1
with:
command: fuzz
args: cmin --no-default-features fuzz_read -- fuzz/corpus/seed
- name: Upload updated seed corpus
if: always()
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -151,6 +157,12 @@ jobs:
name: fuzz_read_no_features_bad_inputs
path: fuzz/artifacts/fuzz_read/crash-*
if-no-files-found: ignore
- name: Minimize seed corpus
if: always()
uses: actions-rs/cargo@v1
with:
command: fuzz
args: cmin --no-default-features fuzz_read -- fuzz/corpus/seed
- name: Upload updated seed corpus
if: always()
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -190,6 +202,12 @@ jobs:
name: fuzz_write_bad_inputs
path: fuzz/artifacts/fuzz_write/crash-*
if-no-files-found: ignore
- name: Minimize seed corpus
if: always()
uses: actions-rs/cargo@v1
with:
command: fuzz
args: cmin fuzz_write -- fuzz/corpus/seed
- name: Upload updated seed corpus
if: always()
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -229,6 +247,12 @@ jobs:
name: fuzz_write_no_features_bad_inputs
path: fuzz/artifacts/fuzz_write/crash-*
if-no-files-found: ignore
- name: Minimize seed corpus
if: always()
uses: actions-rs/cargo@v1
with:
command: fuzz
args: cmin --no-default-features fuzz_write -- fuzz/corpus/seed
- name: Upload updated seed corpus
if: always()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit c31ddf3

Please sign in to comment.