From 10c21645abaec9ac6363926970d3d446ce826399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=85=D8=B5=D8=B7=D9=81=D9=8A=20=D9=85=D8=AD=D9=85=D9=88?= =?UTF-8?q?=D8=AF=20=D9=83=D9=85=D8=A7=D9=84=20=D8=A7=D9=84=D8=AF=D9=8A?= =?UTF-8?q?=D9=86?= <48567303+moste00@users.noreply.github.com> Date: Fri, 30 Aug 2024 22:11:07 +0300 Subject: [PATCH] adding CI 39 --- .github/workflows/end2end-smoke-test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/end2end-smoke-test.yml b/.github/workflows/end2end-smoke-test.yml index 5f11589..14f7e97 100644 --- a/.github/workflows/end2end-smoke-test.yml +++ b/.github/workflows/end2end-smoke-test.yml @@ -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