Skip to content

Commit e567414

Browse files
committed
Integrate fuzz runner into ci workflow file
1 parent 1c8da1c commit e567414

File tree

2 files changed

+18
-30
lines changed

2 files changed

+18
-30
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,21 @@ jobs:
8787
steps:
8888
- uses: actions/checkout@v5
8989
- run: cargo doc --all-features --no-deps
90+
91+
fuzz:
92+
runs-on: ubuntu-latest
93+
steps:
94+
- uses: actions/checkout@v5
95+
96+
- name: Install nightly toolchain
97+
run: rustup install nightly
98+
99+
- name: Install cargo-fuzz
100+
run: cargo install cargo-fuzz
101+
102+
- name: Run all fuzzers for 60 seconds each
103+
run: |
104+
for target in $(cargo +nightly fuzz list); do
105+
echo "Fuzzing $target..."
106+
cargo +nightly fuzz run "$target" -- -max_total_time=60
107+
done

.github/workflows/fuzz.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)