-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: added fuzzing tests to github actions
- Loading branch information
Richard Pospesel
committed
Nov 21, 2023
1 parent
ddefb39
commit faedf5e
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: fuzz | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Gosling | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Intall rust nightly | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly | ||
override: true | ||
- name: Install fuzzer | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libfuzzer | ||
cargo install cargo-fuzz | ||
- name: Fuzz Honk-RPC | ||
run: | | ||
cd source/gosling/crates/honk-rpc | ||
cargo fuzz run fuzz_session -- -max_total_time=600 | ||