Skip to content

Commit

Permalink
I don't know how to use conditional logic
Browse files Browse the repository at this point in the history
  • Loading branch information
elamdf committed Dec 23, 2024
1 parent 675e7ed commit ac9191b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/e2e-cad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,16 @@ jobs:
echo "Checking that LVS passed..." | tee -a $tempfile
# TODO these are probably pretty brittle...
if [[ $(grep "Run Result : MATCH" "$tempfile") ]]; then
echo "LVS passed!" | tee -a $tempfile
else
echo "There's an LVS mismatch! see $tempfile for log" | tee -a $tempfile
exit 1
fi
echo "LVS passed!" | tee -a $tempfile
echo "Checking that DRC is clean..." | tee -a $tempfile
if [[ $(grep "Total DRC Results : 0 (0)" "$tempfile") ]]; then
echo "DRC is clean!" | tee -a $tempfile
else
echo "There are DRC violations! see $tempfile for log" | tee -a $tempfile
exit 1
fi
echo "DRC is clean!" | tee -a $tempfile

0 comments on commit ac9191b

Please sign in to comment.