-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
excluded memory intensive examples and added back benchmark-ci
- Loading branch information
Showing
2 changed files
with
30 additions
and
2 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
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,8 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# Define the exclude list | ||
exclude_list=("collatz" "overflow" "sha3-chain") | ||
|
||
for file in *; do | ||
# Check if the file is in the exclude list | ||
skip=false | ||
for exclude_file in "${exclude_list[@]}"; do | ||
if [[ "$file" == "$exclude_file" ]]; then | ||
skip=true | ||
echo "skipping excluded example: $file" | ||
break | ||
fi | ||
done | ||
|
||
# If the file is not in the exclude list, process it | ||
if ! $skip; then | ||
if [ -d "$file" ]; then | ||
echo "Running $file" | ||
cargo run --release -p "$file" | ||
fi | ||
fi | ||
|
||
done |