Skip to content
Snippets Groups Projects
Unverified Commit a2c63e8d authored by Iulian Barbu's avatar Iulian Barbu Committed by GitHub
Browse files

fix(cmd bench-omni): build omni-bencher with production profile (#7299)

# Description

This PR builds frame-omni-bencher with `production` profile when calling
`/cmd bench-omni` to compute benchmarks for pallets.
Fix proposed by @bkchr

 , thanks!

Closes #6797.

## Integration

N/A

## Review Notes

More info on #6797, and related to how the fix was tested:
https://github.com/paritytech/polkadot-sdk/issues/6797#issuecomment-2611903102.

---------

Signed-off-by: default avatarIulian Barbu <iulian.barbu@parity.io>
Co-authored-by: command-bot <>
parent 23600076
No related merge requests found
Pipeline #513017 waiting for manual action with stages
in 29 minutes and 38 seconds
......@@ -348,7 +348,7 @@ jobs:
- name: Install dependencies for bench
if: startsWith(needs.get-pr-info.outputs.CMD, 'bench')
run: |
cargo install --path substrate/utils/frame/omni-bencher --locked
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