1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 05:12:40 +03:00

ci: separate out the fuzzer to a separate step

This commit is contained in:
Wez Furlong 2022-05-14 09:31:44 -07:00
parent b05d33e8a1
commit 770ccbae66

View File

@ -69,10 +69,14 @@ jobs:
~/.cargo/git ~/.cargo/git
target target
key: "ubuntu-latest-termwiz-fuzz-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo" key: "ubuntu-latest-termwiz-fuzz-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-cargo"
- name: Build - name: Install fuzzer
run: | run: |
source $HOME/.cargo/env source $HOME/.cargo/env
cargo install cargo-fuzz cargo install cargo-fuzz
cd termwiz/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 RUST_BACKTRACE=full cargo +nightly fuzz run escape_parse -- -max_total_time=60