mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
21 lines
529 B
YAML
21 lines
529 B
YAML
name: Tests
|
|
on: [push]
|
|
jobs:
|
|
Run:
|
|
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/TactilityCore/TactilityCoreTests --exit
|