mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
ci: Add cargo fuzz check
to GitHub actions
See: #6085 Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
parent
a5b6e2c5fd
commit
a511dd1b18
10
.github/workflows/fuzz-build.yaml
vendored
10
.github/workflows/fuzz-build.yaml
vendored
@ -12,6 +12,8 @@ jobs:
|
|||||||
- nightly
|
- nightly
|
||||||
target:
|
target:
|
||||||
- x86_64-unknown-linux-gnu
|
- x86_64-unknown-linux-gnu
|
||||||
|
env:
|
||||||
|
RUSTFLAGS: -D warnings
|
||||||
steps:
|
steps:
|
||||||
- name: Code checkout
|
- name: Code checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -22,8 +24,8 @@ jobs:
|
|||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
override: true
|
override: true
|
||||||
- name: Install Cargo fuzz
|
- name: Install Cargo fuzz
|
||||||
# Temporary fix for cargo-fuzz on latest nightly: https://github.com/rust-fuzz/cargo-fuzz/issues/276
|
run: cargo install cargo-fuzz
|
||||||
#run: cargo install cargo-fuzz
|
- name: Fuzz Build
|
||||||
run: cargo install --git https://github.com/rust-fuzz/cargo-fuzz --rev b4df3e58f767b5cad8d1aa6753961003f56f3609
|
|
||||||
- name: Cargo Fuzz Build
|
|
||||||
run: cargo fuzz build
|
run: cargo fuzz build
|
||||||
|
- name: Fuzz Check
|
||||||
|
run: cargo fuzz check
|
||||||
|
Loading…
Reference in New Issue
Block a user