-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat: Sync from noir (#11796)"
This reverts commit 3840e8e.
- Loading branch information
Showing
47 changed files
with
1,157 additions
and
1,327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
819a53a7db921f40febc0e480539df3bfaf917a2 | ||
130d99125a09110a3ee3e877d88d83b5aa37f369 |
This file was deleted.
Oops, something went wrong.
Empty file removed
0
noir/noir-repo/.github/critical_libraries_status/noir-lang/sha256/.failures.jsonl
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
set -eu | ||
|
||
echo "Merging reports" | ||
|
||
REPORT_NAME=$1 | ||
NAME_PLURAL=""$REPORT_NAME"s" | ||
|
||
combined_reports="[]" | ||
|
||
# Iterate over each report and merge them | ||
for report in ./reports/*; do | ||
# The report is saved under ./$REPORT_NAME_{ matrix_report }/$REPORT_NAME_{ matrix_report }.json | ||
FILE_PATH=$(echo $(ls $report)) | ||
|
||
# Extract the $NAME_PLURAL array from each report and merge it | ||
combined_reports=$(jq '[."'"$NAME_PLURAL"'"[]] + '"$combined_reports" <<< "$(cat "$report/$FILE_PATH")") | ||
done | ||
|
||
combined_reports=$(jq '[."'$NAME_PLURAL'"[]] + '"$combined_reports" <<< "$(cat ./$REPORT_NAME.json)") | ||
|
||
# Wrap the merged memory reports into a new object as to keep the $NAME_PLURAL key | ||
final_report="{\"$NAME_PLURAL\": $combined_reports}" | ||
|
||
echo "$final_report" > $REPORT_NAME.json | ||
|
||
cat $REPORT_NAME.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.