mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
- 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`
21 lines
527 B
YAML
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
|