Compare commits

...

6 commits

Author SHA1 Message Date
Stephen Seo 7894955ff5 Merge branch 'master' into cxx17
All checks were successful
Run UnitTests / build-and-run-unittests (push) Successful in 14s
2024-01-19 15:21:45 +09:00
Stephen Seo 599ebca196 Add github action to run UnitTests
All checks were successful
Publish doxygen documentation to seodisparate.com / doxygen-gen-and-publish (push) Successful in 1s
Run UnitTests / build-and-run-unittests (push) Successful in 13s
2024-01-17 19:23:11 +09:00
Stephen Seo 222639ec3a Update CMakeLists.txt cmake version
All checks were successful
Publish doxygen documentation to seodisparate.com / doxygen-gen-and-publish (push) Successful in 1s
Run UnitTests / build-and-run-unittests (push) Successful in 13s
2024-01-17 19:02:51 +09:00
Stephen Seo 0b0c1eb213 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
2024-01-17 18:57:29 +09:00
Stephen Seo a3cd26f529 Update README.md
All checks were successful
Publish doxygen documentation to seodisparate.com / doxygen-gen-and-publish (push) Successful in 1s
2024-01-15 13:56:49 +09:00
Stephen Seo 6c03859cf1 Add forgejo action to generate doxygen docs
All checks were successful
Publish doxygen documentation to seodisparate.com / doxygen-gen-and-publish (push) Successful in 1s
2024-01-15 13:55:34 +09:00
5 changed files with 49 additions and 1 deletions

View file

@ -0,0 +1,14 @@
name: Publish doxygen documentation to seodisparate.com
on:
push:
branches:
- 'master'
jobs:
doxygen-gen-and-publish:
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 master
- run: cd ECMS && doxygen
- run: rsync -r --delete ECMS/doxygen_html/html/ /srv/http/ECMS_docs/

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

18
.github/workflows/unittests.yml vendored Normal file
View file

@ -0,0 +1,18 @@
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 libgtest-dev 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

View file

@ -9,6 +9,8 @@ built and run using cmake (gtest is a dependency).
[Check this repository's gh-pages documentation on ECMS](https://stephen-seo.github.io/EntityComponentMetaSystem/)
[Alternatively, check out the doxygen docs hosted on my website](https://seodisparate.com/ecms_docs/)
# Compiling the UnitTests
Create a build directory.

View file

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 3.22)
project(EntityComponentSystem)
set(EntityComponentSystem_HEADERS