mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
There currently is no practical use to have TactilityHeadless as a subproject. I'm merging it with the Tactility project.
26 lines
701 B
YAML
26 lines
701 B
YAML
name: Tests
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
jobs:
|
|
Run:
|
|
runs-on: ubuntu-latest
|
|
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 TactilityCore Tests"
|
|
run: build/Tests/TactilityCore/TactilityCoreTests --exit
|
|
- name: "Run TactilityHeadless Tests"
|
|
run: build/Tests/Tactility/TactilityTests --exit
|