From faedf5eb6c7282d340dfbcb5c4622bf9300f9a42 Mon Sep 17 00:00:00 2001 From: Richard Pospesel Date: Tue, 21 Nov 2023 23:21:48 +0000 Subject: [PATCH] wip: added fuzzing tests to github actions --- .github/workflows/fuzz.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/fuzz.yml 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 +