Add Gitea TDLib build workflow

This commit is contained in:
2026-04-24 14:02:24 +03:00
parent d2bc9dfd7a
commit dd905ea248
3 changed files with 172 additions and 25 deletions

View File

@@ -18,8 +18,6 @@ A minimal Telegram terminal client built with `ncurses` and TDLib.
- TDLib build dependencies (`gperf`, `openssl`, `zlib`, `git`)
The project vendors TDLib automatically by default. If you already have TDLib installed with CMake package metadata, configure with `-DTELEGRAM_TUI_USE_SYSTEM_TDLIB=ON`.
If you have a prebuilt TDLib bundle with `include/` and `lib/`, configure with
`-DTELEGRAM_TUI_TDLIB_ROOT=/path/to/tdlib`.
## Build
@@ -56,6 +54,13 @@ export TELEGRAM_USE_TEST_DC=1
The client stores TDLib state in `~/.local/share/telegram-tui/tdlib` for production and `~/.local/share/telegram-tui/test/tdlib` for test mode.
## Gitea Actions
The repository includes [`.gitea/workflows/build-tdlib.yaml`](.gitea/workflows/build-tdlib.yaml),
which builds the latest upstream TDLib tag on Gitea Actions and publishes a bundled TDLib
archive plus checksum to the Gitea Generic Package Registry under the `tdlib` package.
It also refreshes a `latest/tdlib-latest.json` manifest with the newest published version.
## Keys
- `Up` / `Down`: move selection