ci: separate out the fuzzer to a separate step

This commit is contained in:
Wez Furlong committed 2022-05-14 09:31:44 -07:00
1 parent b05d33e8a1
commit 770ccbae66
1 file changed
+5 -1
+5 -1
View File
@@ -69,10 +69,14 @@ jobs:
~/.cargo/git
target
key: "ubuntu-latest-termwiz-fuzz-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
- name: Build
- name: Install fuzzer
run: |
source $HOME/.cargo/env
cargo install cargo-fuzz
cd termwiz/fuzz
- name: Fuzz
run: |
source $HOME/.cargo/env
cd termwiz/fuzz
RUST_BACKTRACE=full cargo +nightly fuzz run escape_parse -- -max_total_time=60