Add forgejo action to run unit tests
All checks were successful
Publish doxygen documentation to seodisparate.com / doxygen-gen-and-publish (push) Successful in 0s
Run UnitTests / build-and-run-unittests (push) Successful in 14s

This commit is contained in:
Stephen Seo 2024-01-17 18:57:29 +09:00
parent a3cd26f529
commit 0b0c1eb213

View file

@ -0,0 +1,14 @@
name: Run UnitTests
on:
push:
branches:
- '*'
jobs:
build-and-run-unittests:
runs-on: archLinux
steps:
- run: git clone --depth=1 --no-single-branch https://git.seodisparate.com/stephenseo/EntityComponentMetaSystem.git ECMS
- run: cd ECMS && git checkout $GITHUB_REF_NAME
- run: cd ECMS && cmake -S src -B buildDebug -DCMAKE_BUILD_TYPE=Debug
- run: make -C ECMS/buildDebug && ./ECMS/buildDebug/UnitTests