mirror of
https://github.com/logos-blockchain/lez-fuzzing.git
synced 2026-07-22 17:50:17 +00:00
22 lines
704 B
YAML
22 lines
704 B
YAML
name: Set up libFuzzer toolchain
|
|
description: >
|
|
Install the Rust nightly toolchain (with llvm-tools-preview, required by
|
|
cargo-fuzz and llvm-cov), cargo-fuzz, and the r0vm executor. The repository and
|
|
logos-execution-zone must already be checked out before this runs.
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Install Rust nightly + llvm-tools-preview
|
|
uses: dtolnay/rust-toolchain@nightly
|
|
with:
|
|
components: llvm-tools-preview
|
|
|
|
- name: Install cargo-fuzz
|
|
shell: bash
|
|
run: cargo install cargo-fuzz
|
|
|
|
# The fuzz targets execute guest programs via risc0's ExternalProver, which needs r0vm.
|
|
- name: Install r0vm
|
|
uses: ./.github/actions/install-r0vm
|