41 Commits

Author SHA1 Message Date
2273c0156e Clean up CI. 2026-02-21 18:30:26 -05:00
417f01b527 remove [env] 2026-02-21 18:24:18 -05:00
d776602fe8 Remove debug. 2026-02-21 18:20:51 -05:00
e2ddadd952 Don't force in cargo.toml 2026-02-21 18:20:29 -05:00
61c7f59237 debug 2026-02-21 18:16:56 -05:00
1e63eabd46 Set qmake? 2026-02-21 18:12:45 -05:00
ac83b3e30f Don't set QMAKE. 2026-02-21 18:04:53 -05:00
a42ad73a57 Add setup action. 2026-02-21 18:01:51 -05:00
1ec13aa43a Move env. 2026-02-21 17:52:38 -05:00
0a3f095080 Install qt using action. 2026-02-21 17:51:09 -05:00
6474c5b6bd Reuse steps. 2026-02-21 17:49:42 -05:00
717ea70895 Fix qmake. 2026-02-21 17:37:46 -05:00
8eada4bbee Update push. 2026-02-21 17:35:04 -05:00
0ebd45ae15 Move CI to github.
Some checks failed
Build / Build (pull_request) Failing after 9s
Why not, it's free.
2026-02-21 17:32:44 -05:00
14e7514cc1 Merge jobs.
Some checks failed
Build / Build (pull_request) Failing after 31m19s
2026-02-21 17:25:58 -05:00
b3bb13fa33 22.04
Some checks failed
Build / Build (pull_request) Failing after 10s
Build / Test (pull_request) Failing after 4s
2026-02-21 17:24:36 -05:00
ad95056376 fix path.
Some checks failed
Build / Build (pull_request) Failing after 4s
Build / Test (pull_request) Failing after 4s
2026-02-21 17:23:22 -05:00
384fa51b6e Test with ubuntu:latest.
Some checks failed
Build / Build (pull_request) Failing after 6s
Build / Test (pull_request) Failing after 3s
ubuntu:24.04 was not defined in the runner's docker-compose.yaml server side.
2026-02-21 17:21:40 -05:00
fc2a44740f Use ubuntu-latest.
Some checks failed
Build / Build (pull_request) Failing after 4m36s
Build / Test (pull_request) Failing after 3s
2026-02-21 17:17:52 -05:00
f609aa02db Update env.
Some checks failed
Build / Build (pull_request) Failing after 5s
Build / Test (pull_request) Failing after 5s
2026-02-21 17:12:07 -05:00
fdb4f0db0b Test named volume.
Some checks failed
Build / Build (pull_request) Failing after 10s
Build / Test (pull_request) Failing after 4s
2026-02-21 16:53:03 -05:00
2d5e721a79 Update environment.
Some checks failed
Build / Build (pull_request) Failing after 7s
2026-02-21 16:52:42 -05:00
2e55ba1a4b Source rust things.
Some checks failed
Build / Build (pull_request) Failing after 19m32s
2026-02-21 16:40:34 -05:00
6b9e3b1b40 Update name. 2026-02-21 16:26:18 -05:00
bdb126cab5 Fix apt install.
Some checks failed
Build / Build (pull_request) Failing after 17m52s
2026-02-21 16:22:10 -05:00
a4f6f199ec Test.
Some checks failed
Build / Build (pull_request) Failing after 50s
2026-02-21 16:16:19 -05:00
911a29937e Install libgl. 2026-02-21 16:16:06 -05:00
579826d398 Add badge for build CI. 2026-02-21 16:00:59 -05:00
3b1f33f055 Fix qt version.
Some checks failed
Build / Build (pull_request) Failing after 17m17s
2026-02-21 15:54:40 -05:00
607dae32fe Checkout.
Some checks failed
Build / Build (pull_request) Failing after 3m56s
2026-02-21 15:49:16 -05:00
bb032e9daf Source rust.
Some checks failed
Build / Build (pull_request) Failing after 2m0s
2026-02-21 15:45:43 -05:00
886a32a9e2 Set QMAKE.
Some checks failed
Build / Build (pull_request) Failing after 1m55s
2026-02-21 15:42:55 -05:00
0c58b6c436 Update arch.
Some checks failed
Build / Build (pull_request) Failing after 1m59s
2026-02-21 15:38:05 -05:00
df3547267b update
Some checks failed
Build / Build (pull_request) Failing after 1m31s
2026-02-21 15:34:30 -05:00
a605c4929e Use aqtinstall directly.
Some checks failed
Build / Build (pull_request) Failing after 40s
2026-02-21 15:33:11 -05:00
a40125416d Python
Some checks failed
Build / Build (pull_request) Failing after 57s
2026-02-21 15:28:00 -05:00
6777a44b3b Remove sudo
Some checks failed
Build / Build (pull_request) Failing after 1m9s
2026-02-21 15:25:01 -05:00
288298ac18 Install python.
Some checks failed
Build / Build (pull_request) Failing after 49s
2026-02-21 15:21:53 -05:00
d461a29ff9 Yes.
Some checks failed
Build / Build (push) Failing after 54s
Build / Build (pull_request) Failing after 56s
2026-02-21 15:18:42 -05:00
bc906cd7f3 Install things in CI.
Some checks failed
Build / Build (push) Failing after 1m26s
Build / Build (pull_request) Failing after 16s
2026-02-21 15:15:18 -05:00
8ddff3fe9e Test gitea CI.
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 23s
2026-02-21 15:06:08 -05:00
4 changed files with 89 additions and 4 deletions

View File

@@ -1,6 +1,2 @@
[build] [build]
rustflags = [ "-C", "link-arg=-fuse-ld=lld", ] rustflags = [ "-C", "link-arg=-fuse-ld=lld", ]
[env]
QMAKE="/opt/Qt/6.7.3/gcc_64/bin/qmake6"
LD_LIBRARY_PATH="/opt/Qt/6.7.3/gcc_64/lib"

20
.github/actions/setup-qt/action.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: "Setup Qt"
description: "Install clide dependencies"
inputs:
qt-version:
description: "Qt version to install"
required: true
runs:
using: "composite"
steps:
- name: Install apt packages
run: |
sudo apt update -y
sudo apt install -y build-essential cmake curl libgl1-mesa-dev python3 python3-pip
shell: bash
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: ${{ inputs.qt-version }}

67
.github/workflows/build.yaml vendored Normal file
View File

@@ -0,0 +1,67 @@
name: Build
on:
push:
branches:
- '**'
tags:
- 'v*'
pull_request:
env:
QT_VERSION: 6.7.3
jobs:
Build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Qt
uses: ./.github/actions/setup-qt
with:
qt-version: ${{ env.QT_VERSION }}
- name: Build libclide
run: |
cargo b -p libclide --release
- name: Build clide
run: |
cargo b --release
Test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Qt
uses: ./.github/actions/setup-qt
with:
qt-version: ${{ env.QT_VERSION }}
- name: Test libclide
run: |
cargo test -p libclide
- name: Test clide
run: |
cargo test
Lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup Qt
uses: ./.github/actions/setup-qt
with:
qt-version: ${{ env.QT_VERSION }}
- name: Lint libclide
run: |
cargo clippy --manifest-path libclide/Cargo.toml -- -D warnings
- name: Lint clide
run: |
cargo clippy -- -D warnings

View File

@@ -1,5 +1,7 @@
# CLIDE # CLIDE
[![Build](https://git.shaunreed.com/shaunrd0/clide/actions/workflows/build.yaml/badge.svg)](https://git.shaunreed.com/shaunrd0/clide/workflows/build.yml)
CLIDE is an extendable command-line driven development environment written in Rust using the Qt UI framework that supports both full and headless Linux environments. CLIDE is an extendable command-line driven development environment written in Rust using the Qt UI framework that supports both full and headless Linux environments.
The GUI is written in QML compiled through Rust using the cxx-qt crate, while the TUI was implemented using the ratatui crate. The GUI is written in QML compiled through Rust using the cxx-qt crate, while the TUI was implemented using the ratatui crate.