Adds build and packaging scripts for proper apps.

This commit is contained in:
2026-08-23 23:46:16 -07:00
parent f9eaf0f215
commit 2b6f379273
7 changed files with 307 additions and 9 deletions

47
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,47 @@
name: CI
on:
push:
branches: [ "main", "phase-*" ]
pull_request:
branches: [ "main" ]
jobs:
test:
name: Rust & Workspace Tests (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Setup Rust cache
uses: Swatinem/rust-cache@v2
- name: Install Linux dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libssl-dev
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install GUI frontend dependencies
working-directory: gui
run: npm ci
- name: Build GUI frontend
working-directory: gui
run: npm run build
- name: Run Workspace Tests
run: cargo test --workspace --verbose