ci: build the host sidecar before the desktop Rust tests (clean checkouts)
This commit is contained in:
parent
6e58f74b65
commit
0ce0c51ff6
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)
|
// 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']],
|
['desktop bundle check', ['bun', 'test', 'apps/desktop/tests/webview.test.ts']],
|
||||||
...(cargo ? [
|
...(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 rust tests', [cargo, 'test', '--quiet'], tauri],
|
||||||
['desktop clippy', [cargo, 'clippy', '--all-targets', '--quiet', '--', '-D', 'warnings'], tauri],
|
['desktop clippy', [cargo, 'clippy', '--all-targets', '--quiet', '--', '-D', 'warnings'], tauri],
|
||||||
] as [string, string[], string][] : []),
|
] as [string, string[], string][] : []),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue