Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion .github/workflows/apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ jobs:
with:
components: clippy, rustfmt
# The workspace's [patch] tables name .sources/: prepare them even
# though these crates do not build Makepad.
# though most protocol crates do not build Makepad. The OAuth host
# adapter also checks App Hub's Makepad-linked service integration.
- run: python3 tools/setup.py
- uses: Swatinem/rust-cache@v2
with:
Expand All @@ -75,6 +76,24 @@ jobs:
cargo clippy --locked -p octosense-app-peers --all-targets --features octos-core,ws --no-deps -- -D warnings
- name: AI providers config
run: cargo test --locked -p octosense-llm-config
- name: Connected provider protocols and Linux host adapter
run: |
if [ "$(uname -s)" = Linux ]; then
# The hosted runner is disposable. Local CI uses the build host's
# preinstalled packages and never requests sudo there.
if [ "${GITHUB_ACTIONS:-false}" = true ]; then
sudo apt-get update
sudo apt-get install -y --no-install-recommends pkg-config libssl-dev libx11-dev libxcursor-dev \
libxkbcommon-dev libxkbcommon-x11-dev libwayland-dev libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev \
libasound2-dev libpulse-dev libdbus-1-dev libudev-dev libdrm-dev libgbm-dev libva-dev
fi
pkg-config --exists wayland-client xkbcommon
fi
# Deterministic provider transports; no credentials or live writes.
cargo test --locked -p octosense-oauth-service
# Compile the Linux Secret Service adapter even on CI runners that
# have no unlocked user session. Compilation is not a vault login.
cargo check --locked -p octosense-oauth-service --features host
- name: L0 in-card chat (sys.chat, host side)
run: |
cargo test --locked -p octosense-l0-chat
Expand Down Expand Up @@ -146,6 +165,10 @@ jobs:
run: |
cargo test --locked -p octosense-mail-service -p octosense-llm-service -p octosense-news-service
cargo clippy --locked -p octosense-news-service --all-targets --no-deps -- -D warnings
- name: Connected accounts and Rinx editor
run: |
cargo test --locked -p octosense-oauth-service --features host
cargo test --locked -p octosense-markdown-editor --lib
- name: Shell AI services (crates/ai-host)
run: |
cargo test --locked -p octosense-ai-host
Expand Down
Loading
Loading