Skip to content

Feature: Zombienet Setup Improvement #276

Feature: Zombienet Setup Improvement

Feature: Zombienet Setup Improvement #276

Workflow file for this run

name: Metaverse Benchmark
on:
pull_request:
branches:
- master
push:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
check:
# The type of runner that the job will run on
runs-on: ubuntu-22.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Set-Up
run: sudo apt install -y protobuf-compiler cmake pkg-config libssl-dev git build-essential clang libclang-dev curl
- name: Install Rust version specified in rust-toolchain.toml
run: rustup show
- name: Check Format
run: cargo fmt --all -- --check
- name: Build Benchmarking
run: |
cargo build --release --features runtime-benchmarks
- name: Run Benchmarking
run: |
./target/release/metaverse-node benchmark pallet \
--execution=wasm \
--wasm-execution=compiled \
--pallet "*" \
--extrinsic "*" \
--steps 20 \
--repeat 10 \
--output pallets/all-weight.rs