Merge pull request #12 from jorgermp/feature/improve-linux-video-support #204
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Kite Ground Control - Continuous Integration | |
| # | |
| # Runs on every push and pull request. | |
| # Goal: Catch problems early (especially important for an AI-heavy codebase). | |
| # | |
| # Lightweight: static checks + compilation, no full Tauri bundle. | |
| name: CI | |
| on: | |
| push: | |
| branches: [master, main] | |
| pull_request: | |
| branches: [master, main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check: | |
| name: Check (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| # --- Linux system dependencies for Tauri --- | |
| - name: Install Linux system dependencies | |
| if: matrix.os == 'ubuntu-latest' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libwebkit2gtk-4.1-dev \ | |
| libgtk-3-dev \ | |
| libayatana-appindicator3-dev \ | |
| librsvg2-dev \ | |
| libsoup-3.0-dev \ | |
| libjavascriptcoregtk-4.1-dev \ | |
| libudev-dev \ | |
| patchelf | |
| # --- Frontend --- | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install npm dependencies | |
| run: npm ci | |
| - name: Run svelte-check + TypeScript | |
| run: npm run check | |
| # --- Backend --- | |
| - name: Setup Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - name: Cache cargo registry | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: src-tauri | |
| - name: Run cargo check | |
| working-directory: src-tauri | |
| run: cargo check --verbose | |
| - name: Run clippy (warnings allowed — informational only) | |
| working-directory: src-tauri | |
| run: cargo clippy | |
| - name: Run Rust unit tests | |
| working-directory: src-tauri | |
| run: cargo test --verbose | |