mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
name: Tests
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
types: [ opened, synchronize, reopened ]
|
|
jobs:
|
|
TactilityTests:
|
|
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
|
|
- name: "Run TactilityFreeRtos Tests"
|
|
run: build/Tests/TactilityFreeRtos/TactilityFreeRtosTests
|
|
- name: "Run TactilityHeadless Tests"
|
|
run: build/Tests/Tactility/TactilityTests
|
|
- name: "Run TactilityKernel Tests"
|
|
run: build/Tests/TactilityKernel/TactilityKernelTests
|
|
DevicetreeTests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Checkout repo"
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- name: "Install Python Dependencies"
|
|
shell: bash
|
|
run: pip install lark pyyaml
|
|
- name: "Run Devicetree Tests"
|
|
shell: bash
|
|
working-directory: Buildscripts/DevicetreeCompiler/tests
|
|
run: python test_integration.py
|