diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index f574355..1e35fb2 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -32,11 +32,11 @@ jobs: make - name: Compile unit test project - working-directory: ./src/unit_tests/ + working-directory: ./ env: TYRA: ${GITHUB_WORKSPACE} run: | - make + make tests - name: Compile cube project working-directory: ./ diff --git a/Makefile b/Makefile index 7c56ac0..e6ff12f 100644 --- a/Makefile +++ b/Makefile @@ -60,21 +60,30 @@ all: $(ENGINE_OBJS) cp -f $(LIB_NAME) $(PS2SDK)/ee/lib rm -f $(ENGINE_OBJS) -# cube example +# Cube example cube: $(MAKE) -C src/samples/cube all clean -# dolphin example + +# Dolphin example dolphin: $(MAKE) -C src/samples/dolphin all clean -# floors example + +# Floors example floors: $(MAKE) -C src/samples/floors all clean +# Rebuild the engine rebuild-engine: $(MAKE) -C src/engine && make && make EE_CXXFLAGS="-DNDEBUG $(EE_CXXFLAGS)" +# Rebuild debug engine rebuild-dbg-engine: $(MAKE) -C src/engine && make && make + +# Unit tests folder +tests: + $(MAKE) -C src/unit_tests all clean + # %.vcl: %.vclpp # $(EE_VCLPP) $< $@