Skip to content

Commit

Permalink
fix(cmd bench-omni): build omni-bencher with production profile (#7299)
Browse files Browse the repository at this point in the history
# 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:
#6797 (comment).

---------

Signed-off-by: Iulian Barbu <[email protected]>
Co-authored-by: command-bot <>
  • Loading branch information
iulianbarbu authored Jan 24, 2025
1 parent 2360007 commit a2c63e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a2c63e8

Please sign in to comment.