Skip to content

Commit

Permalink
Merge branch 'master' into doc-for-weight
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathy-bajo authored Jan 29, 2025
2 parents 5e22046 + ada12be commit 1108112
Show file tree
Hide file tree
Showing 35 changed files with 1,345 additions and 1,073 deletions.
5 changes: 5 additions & 0 deletions .github/scripts/cmd/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']}"
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/cmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 1108112

Please sign in to comment.