50c0a14a93
- Added kernel base drivers for: display, pointer (touch, mouse, etc.), keyboard, adc, power supply and backlight - Implement new kernel driver modules: `st7789-module` and `gt911-module` - Implement ESP32 ADC "oneshot" kernel driver - Implement ESP32 backlight kernel driver with ledc API - Implemented `battery-sense` driver that allows for voltage measurement and creates a power supply child device - Updated github actions - Updated flash scripts - Fix for esp32 legacy driver conflict with ADC - Created separate `lilygo-tdeck` and `lilygo-tdeck-plus` devices - Created `lilygo-module` with LilyGO kernel drivers - Fix for intermittent errors in build related to code generation of `devicetree.c` - `lvgl-module` can now map kernel drivers onto LVGL devices - Created `KernelDisplayApp` as a mirror of `HalDisplayApp` (formerly `DisplayApp`) - Removed `struct` and `enum` prefix in a lot of kernel driver cpp source files - `lilygo-tdeck` and `lilygo-tdeck-plus` are now fully relying on kernel drivers and don't use any of the old HAL
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@v6
|
|
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 TactilityFreeRtos Tests"
|
|
run: build/Tests/TactilityFreeRtos/TactilityFreeRtosTests
|
|
- name: "Run Tactility Tests"
|
|
run: build/Tests/Tactility/TactilityTests
|
|
- name: "Run TactilityKernel Tests"
|
|
run: build/Tests/TactilityKernel/TactilityKernelTests
|
|
- name: "Run CryptModuleTests Tests"
|
|
run: build/Tests/crypt-module/CryptModuleTests
|
|
DevicetreeTests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
persist-credentials: false
|
|
submodules: recursive
|
|
- name: "Install Python Dependencies"
|
|
shell: bash
|
|
run: pip install lark==1.3.1 pyyaml==6.0.3
|
|
- name: "Run Devicetree Tests"
|
|
shell: bash
|
|
working-directory: Buildscripts/DevicetreeCompiler/tests
|
|
run: python test_integration.py
|