Skip to content

Commit

Permalink
keep programs fields
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm committed Jan 14, 2025
1 parent 02b619c commit 6144856
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,22 @@ jobs:
run: |
./gates_report_brillig.sh 9223372036854775807
mkdir ../reports
cat gates_report_brillig.json
mv gates_report_brillig.json ../reports/gates_report_brillig_inliner_max.json
./gates_report_brillig.sh 0
jq '.programs |= map(.package_name |= (. + "_inliner_zero"))' gates_report_brillig.json > gates_report_brillig.json
cat gates_report_brillig.json
mv gates_report_brillig.json ../reports/gates_report_brillig_inliner_zero.json
./gates_report_brillig.sh -9223372036854775808
jq '.programs |= map(.package_name |= (. + "_inliner_min"))' gates_report_brillig.json > gates_report_brillig.json
cat gates_report_brillig.json
mv gates_report_brillig.json ../reports/gates_report_brillig_inliner_min.json
- name: Merge compilation reports using jq
run: |
jq -s '[.[][]]' ./reports/* > gates_report_brillig.json
jq -s '{ programs: [.[][]] }' ./reports/* > > gates_report_brillig.json
cat gates_report_brillig.json
- name: Compare Brillig bytecode size reports
Expand Down

0 comments on commit 6144856

Please sign in to comment.