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
20 changes: 15 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,16 @@ permissions:
jobs:
# ── Rust: build check ─────────────────────────────────────────────
rust-build-check:
name: Rust Build Check
runs-on: ubuntu-latest
name: Rust Build Check (${{ matrix.os }})
runs-on: ${{ matrix.os }}
needs: frontend-build
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-15
- windows-latest
steps:
- uses: actions/checkout@v4

Expand All @@ -30,9 +37,12 @@ jobs:
path: dist

- name: Create mobile-web dist directory (workaround for Tauri)
run: mkdir -p mobile-web/dist
shell: bash
run: mkdir -p src/mobile-web/dist

- name: Install Linux system dependencies (Tauri)
if: runner.os == 'Linux'
shell: bash
run: |
sudo apt-get update
if apt-cache show libwebkit2gtk-4.1-dev >/dev/null 2>&1; then
Expand Down Expand Up @@ -60,10 +70,10 @@ jobs:

- uses: swatinem/rust-cache@v2
with:
shared-key: "ci-check"
shared-key: "ci-check-${{ runner.os }}"

- name: Check compilation
run: cargo check --workspace --exclude bitfun-desktop
run: cargo check --workspace --exclude bitfun-cli

# ── Frontend: build ────────────────────────────────────────────────
frontend-build:
Expand Down
2 changes: 1 addition & 1 deletion src/apps/desktop/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"productName": "BitFun",
"identifier": "com.bitfun.desktop",
"build": {
"beforeDevCommand": "pnpm run dev:web",
"beforeDevCommand": "pnpm run type-check:web && pnpm run dev:web",
"devUrl": "http://localhost:1422",
"beforeBuildCommand": "pnpm run build:web && pnpm run prepare:mobile-web",
"frontendDist": "../../../dist"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import type { FlowChatState, Session } from '../../../../../flow_chat/types/flow
import { useSceneStore } from '../../../../stores/sceneStore';
import { useApp } from '../../../../hooks/useApp';
import type { SceneTabId } from '../../../SceneBar/types';
import type { SessionMode } from '../../../../stores/sessionModeStore';
import { useWorkspaceContext } from '@/infrastructure/contexts/WorkspaceContext';
import { createLogger } from '@/shared/utils/logger';
import './SessionsSection.scss';
Expand Down
Loading