-
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.
workflow: added job with fuzz steps for each of our implemented fuzz …
…tests
- Loading branch information
Richard Pospesel
committed
Nov 22, 2023
1 parent
ddefb39
commit 580e458
Showing
1 changed file
with
44 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,44 @@ | ||
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: | | ||
cargo install cargo-fuzz | ||
- name: Fuzz HonkRPC | ||
run: | | ||
cd source/gosling/crates/honk-rpc | ||
cargo fuzz run fuzz_session -- -max_total_time=600 | ||
- name: Fuzz Tor Crypto | ||
run: | | ||
cd source/gosling/crates/tor-interface | ||
cargo fuzz run fuzz_crypto -- -max_total_time=600 | ||
- name: Fuzz Identity Server | ||
run: | | ||
cd source/gosling/crates/gosling | ||
cargo fuzz run fuzz_identity_server -- -max_total_time=600 | ||
- name: Fuzz Identity Client | ||
run: | | ||
cd source/gosling/crates/gosling | ||
cargo fuzz run fuzz_identity_client -- -max_total_time=600 | ||
- name: Fuzz Endpoint Server | ||
run: | | ||
cd source/gosling/crates/gosling | ||
cargo fuzz run fuzz_endpoint_server -- -max_total_time=600 | ||
- name: Fuzz Endpoint Client | ||
run: | | ||
cd source/gosling/crates/gosling | ||
cargo fuzz run fuzz_endpoint_client -- -max_total_time=600 |