Skip to content

Commit

Permalink
wip: added fuzzing tests to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Pospesel committed Nov 21, 2023
1 parent ddefb39 commit e812d69
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=6
- name: Fuzz Tor Crypto
run: |
cd source/gosling/crates/tor-interface
cargo fuzz run fuzz_crypto -- -max_total_time=6
- name: Fuzz Identity Server
run: |
cd source/gosling/crates/gosling
cargo fuzz run fuzz_identity_server -- -max_total_time=6
- name: Fuzz Identity Client
run: |
cd source/gosling/crates/gosling
cargo fuzz run fuzz_identity_client -- -max_total_time=6
- name: Fuzz Endpoint Server
run: |
cd source/gosling/crates/gosling
cargo fuzz run fuzz_endpoint_server -- -max_total_time=6
- name: Fuzz Endpoint Client
run: |
cd source/gosling/crates/gosling
cargo fuzz run fuzz_endpoint_client -- -max_total_time=6

0 comments on commit e812d69

Please sign in to comment.