mirror of
https://github.com/m1ngsama/TUT.git
synced 2026-02-08 09:04:04 +00:00
ci: Update CI/CD for FTXUI architecture
- Install FTXUI, cpp-httplib, toml11 dependencies - Use CMAKE_PREFIX_PATH for macOS Homebrew packages - Add binary version test step - Improve release notes with features and quick start - Support both macOS and Linux builds with FetchContent fallback
This commit is contained in:
parent
6408f0e95c
commit
fffb3c6756
1 changed files with 33 additions and 8 deletions
41
.github/workflows/release.yml
vendored
41
.github/workflows/release.yml
vendored
|
|
@ -26,24 +26,31 @@ jobs:
|
|||
if: matrix.os == 'macos-latest'
|
||||
run: |
|
||||
brew update
|
||||
brew install cmake ncurses curl gumbo-parser
|
||||
brew install cmake gumbo-parser openssl ftxui cpp-httplib toml11
|
||||
|
||||
- name: Install dependencies (Linux)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y cmake libncursesw5-dev libcurl4-openssl-dev libgumbo-dev
|
||||
sudo apt-get install -y cmake libgumbo-dev libssl-dev pkg-config g++
|
||||
|
||||
- name: Configure CMake
|
||||
- name: Configure CMake (macOS)
|
||||
if: matrix.os == 'macos-latest'
|
||||
run: |
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake ..
|
||||
cmake -B build -DCMAKE_PREFIX_PATH=/opt/homebrew -DTUT_BUILD_TESTS=OFF
|
||||
|
||||
- name: Configure CMake (Linux)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
cmake -B build -DTUT_BUILD_TESTS=OFF
|
||||
|
||||
- name: Build project
|
||||
run: |
|
||||
cd build
|
||||
cmake --build .
|
||||
cmake --build build -j$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 4)
|
||||
|
||||
- name: Test binary
|
||||
run: |
|
||||
./build/tut --version
|
||||
|
||||
- name: Rename binary with platform suffix
|
||||
run: |
|
||||
|
|
@ -84,10 +91,28 @@ jobs:
|
|||
body: |
|
||||
Automated release for commit ${{ github.sha }}
|
||||
|
||||
🎉 **TUT - Terminal UI Textual Browser**
|
||||
|
||||
A lightweight terminal browser with btop-style interface built with FTXUI.
|
||||
|
||||
## Features
|
||||
- 🎨 btop-style four-panel layout
|
||||
- ⚡ Fast and lightweight (~827KB binary)
|
||||
- ⌨️ Vim-style keyboard navigation
|
||||
- 🎭 Multiple color themes
|
||||
- 📝 TOML-based configuration
|
||||
|
||||
## Download
|
||||
- **macOS**: `tut-macos`
|
||||
- **Linux**: `tut-linux`
|
||||
|
||||
## Quick Start
|
||||
```bash
|
||||
chmod +x tut-macos # or tut-linux
|
||||
./tut-macos --help
|
||||
./tut-macos https://example.com
|
||||
```
|
||||
|
||||
## Build from source
|
||||
See the [README](https://github.com/${{ github.repository }}/blob/main/README.md) for build instructions.
|
||||
files: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue