Skip to content

Commit

Permalink
adding CI 39
Browse files Browse the repository at this point in the history
  • Loading branch information
moste00 committed Aug 30, 2024
1 parent 44b192a commit 10c2164
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/end2end-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ jobs:
- name: Checking the generated code compiles and is identical to the committed generated code
run: |
cd generator
echo '#include "riscv_decode.gen.inc" void main() {}' > test_main.c
touch test_main.c
echo '#include "riscv_decode.gen.inc"' >> test_main.c
echo >> test_main.c
echo 'void main() {}' >> test_main.c
gcc test_main.c || { echo "Failure: Trying to compile the tool-generated C code failed."; exit 1; }
if diff -q riscv_ast.gen.inc old_riscv_ast.gen.inc > /dev/null 2>&1; then
Expand Down

0 comments on commit 10c2164

Please sign in to comment.