ci: build the host sidecar before the desktop Rust tests (clean checkouts)
This commit is contained in:
parent
c6e8a60b64
commit
1eb3f0768d
1 changed files with 2 additions and 0 deletions
|
|
@ -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][] : []),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue