Skip to content

Commit fffb3c6

Browse files
committed
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
1 parent 6408f0e commit fffb3c6

1 file changed

Lines changed: 33 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,31 @@ jobs:
2626
if: matrix.os == 'macos-latest'
2727
run: |
2828
brew update
29-
brew install cmake ncurses curl gumbo-parser
29+
brew install cmake gumbo-parser openssl ftxui cpp-httplib toml11
3030
3131
- name: Install dependencies (Linux)
3232
if: matrix.os == 'ubuntu-latest'
3333
run: |
3434
sudo apt-get update
35-
sudo apt-get install -y cmake libncursesw5-dev libcurl4-openssl-dev libgumbo-dev
35+
sudo apt-get install -y cmake libgumbo-dev libssl-dev pkg-config g++
3636
37-
- name: Configure CMake
37+
- name: Configure CMake (macOS)
38+
if: matrix.os == 'macos-latest'
3839
run: |
39-
mkdir -p build
40-
cd build
41-
cmake ..
40+
cmake -B build -DCMAKE_PREFIX_PATH=/opt/homebrew -DTUT_BUILD_TESTS=OFF
41+
42+
- name: Configure CMake (Linux)
43+
if: matrix.os == 'ubuntu-latest'
44+
run: |
45+
cmake -B build -DTUT_BUILD_TESTS=OFF
4246
4347
- name: Build project
4448
run: |
45-
cd build
46-
cmake --build .
49+
cmake --build build -j$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 4)
50+
51+
- name: Test binary
52+
run: |
53+
./build/tut --version
4754
4855
- name: Rename binary with platform suffix
4956
run: |
@@ -84,10 +91,28 @@ jobs:
8491
body: |
8592
Automated release for commit ${{ github.sha }}
8693
94+
🎉 **TUT - Terminal UI Textual Browser**
95+
96+
A lightweight terminal browser with btop-style interface built with FTXUI.
97+
98+
## Features
99+
- 🎨 btop-style four-panel layout
100+
- ⚡ Fast and lightweight (~827KB binary)
101+
- ⌨️ Vim-style keyboard navigation
102+
- 🎭 Multiple color themes
103+
- 📝 TOML-based configuration
104+
87105
## Download
88106
- **macOS**: `tut-macos`
89107
- **Linux**: `tut-linux`
90108
109+
## Quick Start
110+
```bash
111+
chmod +x tut-macos # or tut-linux
112+
./tut-macos --help
113+
./tut-macos https://example.com
114+
```
115+
91116
## Build from source
92117
See the [README](https://github.com/${{ github.repository }}/blob/main/README.md) for build instructions.
93118
files: |

0 commit comments

Comments
 (0)