Ken Van Hoeylandt 47377439dd
Implement unit testing (#30)
- Create `test` and `tactility-core-tests` subprojects
- Created tests for `thread.c`
- Fixed issue with thread cleanup (see what I did there? :P)
- Removed functions from `thread.h` that did not exist anymore
- Updated `ideas.md`
2024-02-02 00:12:36 +01:00

21 lines
527 B
YAML

name: Tests
on: [push]
jobs:
Build-PC:
runs-on: ubuntu-latest
env:
SKIP_SDL: true
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: recursive
- name: Configure Project
uses: threeal/cmake-action@v1.3.0
- name: Prepare Project
run: cmake -S ./ -B build
- name: Build Tests
run: cmake --build build --target build-tests
- name: Run Tests
run: build/tests/tactility-core/tactility-core-tests --exit