37 lines
930 B
YAML
37 lines
930 B
YAML
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: run fuzz targets
|
|
run: cargo fuzz run common -- -max_total_time=60
|
|
- name: run fuzz targets
|
|
run: cargo fuzz run notes -- -max_total_time=60
|
|
- name: run fuzz targets
|
|
run: cargo fuzz run symver -- -max_total_time=60
|
|
- name: run fuzz targets
|
|
run: cargo fuzz run symbol_table -- -max_total_time=60
|