From 1eb3f0768d9a20fdd1a6f1141cc772c3616744fb Mon Sep 17 00:00:00 2001 From: CRT Date: Sat, 10 Oct 2026 19:45:24 +0000 Subject: [PATCH] ci: build the host sidecar before the desktop Rust tests (clean checkouts) --- tools/ci.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ci.ts b/tools/ci.ts index 664059dc..b7052900 100644 --- a/tools/ci.ts +++ b/tools/ci.ts @@ -18,6 +18,8 @@ const steps: [string, string[], string?][] = [ // the release bundle must not carry the dev fixture mode (apps/desktop/tests/webview.test.ts checks dist/ when present) ['desktop bundle check', ['bun', 'test', 'apps/desktop/tests/webview.test.ts']], ...(cargo ? [ + // tauri's build script needs the host sidecar binary (gitignored), so a clean checkout builds it first + ['desktop sidecar (host)', ['bun', 'tools/build-sidecars.ts', '--host']], ['desktop rust tests', [cargo, 'test', '--quiet'], tauri], ['desktop clippy', [cargo, 'clippy', '--all-targets', '--quiet', '--', '-D', 'warnings'], tauri], ] as [string, string[], string][] : []),