mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
- Added `AppHub` app - Added `AppHubDetails` app - Added `cJSON` dependency - Renamed `AppSim` module to `FirmwareSim` - Added extra `tt::app::alertdialg::start()` - Renamed `addApp()`, `removeApp()`, `findAppById()` and `getApps()` to `addAppManifest()`, `removeAppManifest()`, `findAppManifestById()` and `getAppManifests()` - Added `tt::lvgl::toolbar_clear_actions()` - Added `tt::network::EspHttpClient` as a thread-safe wrapper around `esp_http_client` - Added `tt::network::http::download()` to download files - Added `tt::network::ntp::isSynced()` - When time is synced, the timestamp is stored in NVS flash. On boot, it is restored. This helps SSL connections when doing a quick reset: when WiFi reconnects, the user doesn't have to wait for NTP sync before SSL works. - Added `tt::json::Reader` as a `cJSON` wrapper - Added `int64_t` support for `Preferences` - Added `int64_t` support for `Bundle` - Added dependencies: `cJSON`, `esp-tls` - When time is synced via NTP, disable time sync. - Added docs to 'tt::file::` functions - Added `tt::string::join()` that works with `std::vector<const char*>` - Fixed `tt::file::getLastPathSegment()` for the scenario when a path was passed with only a single segment - Set `CONFIG_ESP_MAIN_TASK_STACK_SIZE=5120` (from about 3k) for all boards - Set `CONFIG_MBEDTLS_SSL_PROTO_TLS1_3=y` for all boards
59 lines
2.1 KiB
YAML
59 lines
2.1 KiB
YAML
name: Build
|
|
|
|
inputs:
|
|
os_name:
|
|
description: A descriptive name for the operating system (e.g. linux, windows)
|
|
required: true
|
|
platform_name:
|
|
description: A descriptive name for the target platform (e.g. amd64, aarch64, etc.)
|
|
required: true
|
|
publish:
|
|
description: A boolean that enables publishing of artifacts
|
|
required: true
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: "Checkout repo"
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- name: Install Linux Dependencies for SDL
|
|
if: ${{ runner.os == 'Linux' }}
|
|
shell: bash
|
|
# See Libraries/SDL/docs/README-linux.md
|
|
run: >
|
|
sudo apt-get update &&
|
|
sudo apt-get install build-essential git make
|
|
pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev
|
|
libaudio-dev libjack-dev libsndio-dev libx11-dev libxext-dev
|
|
libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev
|
|
libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev
|
|
libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev
|
|
libpipewire-0.3-dev libwayland-dev libdecor-0-dev liburing-dev
|
|
env:
|
|
WLR_BACKENDS: headless
|
|
WLR_LIBINPUT_NO_DEVICES: 1
|
|
WAYLAND_DISPLAY: wayland-1
|
|
GTK_USE_PORTAL: 0
|
|
- name: Setup cmake
|
|
uses: jwlawson/actions-setup-cmake@v2
|
|
with:
|
|
cmake-version: '3.31.x'
|
|
- name: "Prepare Project"
|
|
shell: bash
|
|
run: cmake -S ./ -B buildsim
|
|
- name: "Build Tests"
|
|
shell: bash
|
|
run: cmake --build buildsim --target FirmwareSim
|
|
- name: 'Release'
|
|
shell: bash
|
|
run: Buildscripts/release-simulator.sh buildsim release/Simulator-${{ inputs.os_name }}-${{ inputs.platform_name }}
|
|
- name: 'Upload Artifact'
|
|
uses: actions/upload-artifact@v4
|
|
if: ${{ inputs.publish == 'true' }}
|
|
with:
|
|
name: Simulator-${{ inputs.os_name }}-${{ inputs.platform_name }}
|
|
path: release/Simulator-${{ inputs.os_name }}-${{ inputs.platform_name }}
|
|
retention-days: 30
|