Skip to content

Commit

Permalink
Attempt #1 to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
moste00 committed Oct 11, 2024
1 parent 9e736bf commit 6eab6ac
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/end2end-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
cd generator && source ~/.bash_profile
export OPAMCONFIRMLEVEL=yes
opam update
opam list -a
opam install . --deps-only
opam install sail=0.18
sudo apt-get install z3
Expand Down Expand Up @@ -66,9 +67,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
echo "Success: The tool generates compiling C code that is identical to the files committed."
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"
else
echo "Failure: The tool-generated decoding logic differ from that committed in the repo."
echo "Failure: The tool-generated decoding logic differ from the one committed in the repo."
exit 1
fi
else
Expand Down

0 comments on commit 6eab6ac

Please sign in to comment.