Skip to content
Snippets Groups Projects
Unverified Commit 0dab441c authored by Maksym H's avatar Maksym H Committed by GitHub
Browse files

move installation of frame-omni-bencher into a cmd.py itself (#7372)

parent 9ab00b15
No related merge requests found
Pipeline #513532 waiting for manual action with stages
in 31 minutes and 22 seconds
......@@ -112,6 +112,11 @@ def main():
runtimesMatrix = {x['name']: x for x in runtimesMatrix}
print(f'Filtered out runtimes: {runtimesMatrix}')
compile_bencher = os.system(f"cargo install --path substrate/utils/frame/omni-bencher --locked --profile {profile}")
if compile_bencher != 0:
print_and_log('❌ Failed to compile frame-omni-bencher')
sys.exit(1)
# loop over remaining runtimes to collect available pallets
for runtime in runtimesMatrix.values():
build_command = f"forklift cargo build -p {runtime['package']} --profile {profile} --features={runtime['bench_features']}"
......
......@@ -344,11 +344,6 @@ jobs:
else
echo "arg=" >> $GITHUB_OUTPUT
fi
- name: Install dependencies for bench
if: startsWith(needs.get-pr-info.outputs.CMD, 'bench')
run: |
cargo install --path substrate/utils/frame/omni-bencher --locked --profile production
- name: Run cmd
id: cmd
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment