Skip to content

Commit

Permalink
fix annoying syntax error in shell commands in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
moste00 committed Oct 11, 2024
1 parent 2d76492 commit 4395646
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/end2end-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ jobs:
if diff -q riscv_ast.gen.inc ../old_output/riscv_ast.gen.inc > /dev/null 2>&1; then
if diff -q riscv_decode.gen.inc ../old_output/riscv_decode.gen.inc > /dev/null 2>&1; then
if diff -q riscv_ast2str.gen.inc ../old_output/riscv_ast2str.gen.inc > /dev/null 2>&1 then
if diff -q riscv_ast2str.gen.inc ../old_output/riscv_ast2str.gen.inc > /dev/null 2>&1; then
echo "Success: The tool generates compiling C code that is identical to the files committed."
else
echo "Failure: The tool-generated ast stringification logic differ from the one committed in the repo"
exit 1
fi
else
echo "Failure: The tool-generated decoding logic differ from the one committed in the repo."
exit 1
Expand Down

0 comments on commit 4395646

Please sign in to comment.