EntityComponentMetaSystem/.github/workflows/unittests.yml
Stephen Seo 6778f570d9
All checks were successful
Publish doxygen documentation to seodisparate.com / doxygen-gen-and-publish (push) Successful in 2s
Run UnitTests / build-and-run-unittests (push) Successful in 35s
Remove dependency on GTest for UnitTests
2024-07-15 13:13:08 +09:00

18 lines
634 B
YAML

name: Run UnitTests
on:
push:
branches:
- '*'
jobs:
build-and-run-unittests:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo /usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get install cmake
- name: Get sources
run: git clone --depth=1 --no-single-branch https://github.com/Stephen-Seo/EntityComponentMetaSystem.git ECMS && cd ECMS && git checkout $GITHUB_REF_NAME
- name: Build UnitTests
run: cd ECMS && cmake -S src -B buildDebug -DCMAKE_BUILD_TYPE=Debug && make -C buildDebug
- name: Run UnitTests
run: ./ECMS/buildDebug/UnitTests