2024-01-17 09:57:29 +00:00
|
|
|
name: Run UnitTests
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- '*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-and-run-unittests:
|
2024-01-20 09:00:25 +00:00
|
|
|
runs-on: [selfOldArchLinux, archLinux]
|
2024-01-17 09:57:29 +00:00
|
|
|
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
|