Skip to content

Commit

Permalink
Update github-action.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
simeononsecurity authored Aug 18, 2023
1 parent dbc388f commit 2e55776
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions github-action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ common_flags="-O3 -ffinite-loops -ffast-math -D_REENTRANT -finline-functions -fa
spu_models=("Cortex-A53" "Cortex-A55")

# Create a directory to store the zip files
sudo mkdir -p ./ccminer/
sudo mkdir -p ./ccminerzip/

# Loop through the SPU model names
for model_name in "${spu_models[@]}"; do
Expand Down Expand Up @@ -61,9 +61,9 @@ for model_name in "${spu_models[@]}"; do
sudo make install

# Create a zip file
find . -type d -name "ccminer" -prune -o -print | zip -r "ccminer_$model_name.zip" -@
zip -r "ccminer_$model_name.zip" ./
ls ./
mv "ccminer_$model_name.zip" ./ccminer/
mv "ccminer_$model_name.zip" ./ccminerzip/
ls ./ccminer/
pwd
echo "$model_name done!"
Expand Down

0 comments on commit 2e55776

Please sign in to comment.