Fixed unit tests + fixed different compilation flags' combinations so that code compiles and works properly + added unit tests execution into a github actions workflow

This commit is contained in:
Egor Sheremetov 2023-09-27 03:45:58 +02:00
parent ec9beed470
commit 8b073cbd48
8 changed files with 116 additions and 61 deletions

View file

@ -9,6 +9,9 @@ all:
$(MAKE) -C runtime
$(MAKE) -C byterun
$(MAKE) -C stdlib
$(MAKE) -C runtime unit_tests.o
$(MAKE) -C runtime invariants_check.o
$(MAKE) -C runtime invariants_check_debug_print.o
STD_FILES=$(shell ls stdlib/*.[oi] stdlib/*.lama runtime/runtime.a runtime/Std.i)
@ -38,6 +41,11 @@ regression-lama-in-lama: all
cp -R stdlib/* tmp-lama
$(MAKE) -C lama-compiler
unit_tests:
./runtime/unit_tests.o
./runtime/invariants_check.o
./runtime/invariants_check_debug_print.o
clean:
$(MAKE) clean -C src
$(MAKE) clean -C runtime