EntityComponentMetaSystem/.forgejo/workflows/unittests.yml
Stephen Seo b32611e277
Some checks are pending
Run UnitTests / build-and-run-unittests (push) Waiting to run
Publish doxygen documentation to seodisparate.com / doxygen-gen-and-publish (push) Successful in 0s
Attempt to fix workflow with selfhosted act runner
2024-01-20 19:11:20 +09:00

15 lines
475 B
YAML

name: Run UnitTests
on:
push:
branches:
- '*'
jobs:
build-and-run-unittests:
runs-on: ['selfOldArchLinux', '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