diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml new file mode 100644 index 00000000..a9b30bfa --- /dev/null +++ b/.github/workflows/fuzz.yml @@ -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 +