Desktop foundation / core (ubuntu-latest) (push) Failing after 28s
Desktop foundation / core (macos-latest) (push) Canceled after 0s
Desktop foundation / core (windows-latest) (push) Canceled after 0s
Linux / verify (push) Canceled after 0s
Linux / keyless-cuda (push) Canceled after 0s
Linux / static-cuda-package (push) Canceled after 0s
Linux / hosted-cuda-package (push) Canceled after 0s
Linux / linux-static-cli (push) Canceled after 0s
Linux / linux-cli-container (push) Canceled after 0s
Linux / release-cli (push) Canceled after 0s
45 lines
1.8 KiB
YAML
45 lines
1.8 KiB
YAML
name: Desktop foundation
|
|
on:
|
|
push:
|
|
paths: ['desktop-core/**', 'desktop/**', '.github/workflows/desktop.yml', 'rust-toolchain.toml']
|
|
pull_request:
|
|
paths: ['desktop-core/**', 'desktop/**', '.github/workflows/desktop.yml', 'rust-toolchain.toml']
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
core:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Format
|
|
run: cargo fmt --manifest-path desktop-core/Cargo.toml --check
|
|
- name: Tests
|
|
run: cargo test --locked --manifest-path desktop-core/Cargo.toml
|
|
- name: Lints
|
|
run: cargo clippy --locked --manifest-path desktop-core/Cargo.toml --all-targets -- -D warnings
|
|
- name: Hardware smoke (no inference)
|
|
run: cargo run --locked --manifest-path desktop-core/Cargo.toml -- hardware
|
|
- uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: '10.0.x'
|
|
- name: Restore desktop dependencies
|
|
run: dotnet restore desktop/Strata.Desktop.csproj --locked-mode
|
|
- name: Build desktop
|
|
run: dotnet build desktop/Strata.Desktop.csproj --no-restore
|
|
- name: Desktop gRPC node integration (headless, no inference)
|
|
run: dotnet desktop/bin/Debug/net10.0/Strata.Desktop.dll --self-check
|
|
- name: Desktop gRPC restart recovery (isolated node)
|
|
run: python desktop/tests/reconnect.py
|
|
- name: Desktop managed lifecycle (isolated synthetic worker)
|
|
run: python desktop/tests/lifecycle.py
|
|
- name: Real isolated SSH tunnel and gRPC recovery
|
|
if: runner.os == 'macOS'
|
|
run: python desktop/tests/ssh_tunnel.py
|
|
- name: Real isolated SSH installation and rollback
|
|
if: runner.os == 'macOS'
|
|
run: python desktop/tests/remote_install.py
|