Skip to content

Commit

Permalink
workflow: added job with fuzz steps for each of our implemented fuzz …
Browse files Browse the repository at this point in the history
…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.
44 changes: 44 additions & 0 deletions .github/workflows/fuzz.yml
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

0 comments on commit 580e458

Please sign in to comment.