Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
shaedrich committed Jun 5, 2024
1 parent f7aea25 commit 13719cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .ci-scripts/check-code-samples.bash
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ echo "Check $files files …"
failedFiles=()
i=0
$HOME/.local/share/ponyup/bin/ponyc
ls -l
for file in *.pony; do
((i++))
percentage=$(((i*100)/files))
Expand All @@ -19,9 +20,9 @@ for file in *.pony; do
#$HOME/.local/share/ponyup/bin/ponyc #"$GITHUB_WORKSPACE/code-samples/$file"
#if [ $? -eq 0 ]; then
if [ -f "$file.ll" ] && [ -f "$file.s" ]; then
echo -e "\e[1;32m\u2705 File fulfilled expectations\e[0m"
echo -e "\e[1;32m\u2705 File could be compiled successfully\e[0m"
else
echo -e "\e[1;31m\u274C File didn't fulfill expectations\e[0m"
echo -e "\e[1;31m\u274C File compilation failed\e[0m"
failedFiles+=(file)
fi
done
Expand Down

0 comments on commit 13719cb

Please sign in to comment.