mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
fc7959a871
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
138 lines
3.7 KiB
YAML
138 lines
3.7 KiB
YAML
name: Run nightly fuzzer jobs
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
|
|
jobs:
|
|
xcm-fuzzer:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Install minimal stable Rust
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
|
|
- name: Install minimal nightly Rust
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: nightly
|
|
target: wasm32-unknown-unknown
|
|
|
|
- name: Install honggfuzz deps
|
|
run: sudo apt-get install --no-install-recommends binutils-dev libunwind8-dev
|
|
|
|
- name: Install honggfuzz
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: install
|
|
args: honggfuzz --version "0.5.54"
|
|
|
|
- name: Build fuzzer binaries
|
|
working-directory: xcm/xcm-simulator/fuzzer/
|
|
run: cargo hfuzz build
|
|
|
|
- name: Run fuzzer
|
|
working-directory: xcm/xcm-simulator/fuzzer/
|
|
run: bash $GITHUB_WORKSPACE/scripts/ci/github/run_fuzzer.sh xcm-fuzzer
|
|
|
|
erasure-coding-round-trip:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Cache Seed
|
|
id: cache-seed-round-trip
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: erasure-coding/fuzzer/hfuzz_workspace
|
|
key: ${{ runner.os }}-erasure-coding
|
|
|
|
- name: Install minimal stable Rust
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
|
|
- name: Install minimal nightly Rust
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: nightly
|
|
target: wasm32-unknown-unknown
|
|
|
|
- name: Install honggfuzz deps
|
|
run: sudo apt-get install --no-install-recommends binutils-dev libunwind8-dev
|
|
|
|
- name: Install honggfuzz
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: install
|
|
args: honggfuzz --version "0.5.54"
|
|
|
|
- name: Build fuzzer binaries
|
|
working-directory: erasure-coding/fuzzer
|
|
run: cargo hfuzz build
|
|
|
|
- name: Run fuzzer
|
|
working-directory: erasure-coding/fuzzer
|
|
run: bash $GITHUB_WORKSPACE/scripts/ci/github/run_fuzzer.sh round_trip
|
|
|
|
erasure-coding-reconstruct:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Cache Seed
|
|
id: cache-seed-reconstruct
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: erasure-coding/fuzzer/hfuzz_workspace
|
|
key: ${{ runner.os }}-erasure-coding
|
|
|
|
- name: Install minimal stable Rust
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
override: true
|
|
|
|
- name: Install minimal nightly Rust
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: nightly
|
|
target: wasm32-unknown-unknown
|
|
|
|
- name: Install honggfuzz deps
|
|
run: sudo apt-get install --no-install-recommends binutils-dev libunwind8-dev
|
|
|
|
- name: Install honggfuzz
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: install
|
|
args: honggfuzz --version "0.5.54"
|
|
|
|
- name: Build fuzzer binaries
|
|
working-directory: erasure-coding/fuzzer
|
|
run: cargo hfuzz build
|
|
|
|
- name: Run fuzzer
|
|
working-directory: erasure-coding/fuzzer
|
|
run: bash $GITHUB_WORKSPACE/scripts/ci/github/run_fuzzer.sh reconstruct
|