mirror of
https://github.com/m1ngsama/TUT.git
synced 2026-02-08 00:54:05 +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'
|
if: matrix.os == 'macos-latest'
|
||||||
run: |
|
run: |
|
||||||
brew update
|
brew update
|
||||||
brew install cmake ncurses curl gumbo-parser
|
brew install cmake gumbo-parser openssl ftxui cpp-httplib toml11
|
||||||
|
|
||||||
- name: Install dependencies (Linux)
|
- name: Install dependencies (Linux)
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
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: |
|
run: |
|
||||||
mkdir -p build
|
cmake -B build -DCMAKE_PREFIX_PATH=/opt/homebrew -DTUT_BUILD_TESTS=OFF
|
||||||
cd build
|
|
||||||
cmake ..
|
- name: Configure CMake (Linux)
|
||||||
|
if: matrix.os == 'ubuntu-latest'
|
||||||
|
run: |
|
||||||
|
cmake -B build -DTUT_BUILD_TESTS=OFF
|
||||||
|
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cmake --build build -j$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 4)
|
||||||
cmake --build .
|
|
||||||
|
- name: Test binary
|
||||||
|
run: |
|
||||||
|
./build/tut --version
|
||||||
|
|
||||||
- name: Rename binary with platform suffix
|
- name: Rename binary with platform suffix
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -84,10 +91,28 @@ jobs:
|
||||||
body: |
|
body: |
|
||||||
Automated release for commit ${{ github.sha }}
|
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
|
## Download
|
||||||
- **macOS**: `tut-macos`
|
- **macOS**: `tut-macos`
|
||||||
- **Linux**: `tut-linux`
|
- **Linux**: `tut-linux`
|
||||||
|
|
||||||
|
## Quick Start
|
||||||
|
```bash
|
||||||
|
chmod +x tut-macos # or tut-linux
|
||||||
|
./tut-macos --help
|
||||||
|
./tut-macos https://example.com
|
||||||
|
```
|
||||||
|
|
||||||
## Build from source
|
## Build from source
|
||||||
See the [README](https://github.com/${{ github.repository }}/blob/main/README.md) for build instructions.
|
See the [README](https://github.com/${{ github.repository }}/blob/main/README.md) for build instructions.
|
||||||
files: |
|
files: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue