Bump crate version to 0.8.0-dev to show that tip of main branch is go… #86
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fuzz | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install nightly Rust | |
shell: bash | |
run: | | |
curl -sSL https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain=nightly | |
export PATH="$HOME/.cargo/bin:$PATH" | |
echo "$HOME/.cargo/bin" >> $GITHUB_PATH | |
- name: Install cargo fuzz | |
run: cargo install cargo-fuzz | |
- name: Build | |
run: cargo build --verbose | |
- name: Cache fuzzy corpus | |
uses: actions/cache@v3 | |
with: | |
path: fuzz/corpus | |
key: fuzz-corpus-${{ github.run_id }} | |
restore-keys: | | |
fuzz-corpus- | |
- name: fuzzy common | |
run: cargo fuzz run common -- -max_total_time=60 | |
- name: fuzzy notes | |
run: cargo fuzz run notes -- -max_total_time=60 | |
- name: fuzzy symver | |
run: cargo fuzz run symver -- -max_total_time=60 | |
- name: fuzzy symbol_table | |
run: cargo fuzz run symbol_table -- -max_total_time=60 | |
- name: fuzzy stream | |
run: cargo fuzz run stream -- -max_total_time=60 |