Skip to content

ci: share target dir between CLI build and tauri build steps - #371

Merged
Ziinc merged 1 commit into
mainfrom
claude/github-workflow-speed-n7t66f
Aug 28, 2026
Merged

ci: share target dir between CLI build and tauri build steps#371
Ziinc merged 1 commit into
mainfrom
claude/github-workflow-speed-n7t66f

Conversation

@Ziinc

@Ziinc Ziinc commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

cargo build without --target writes to target/release/, while
tauri build --target aarch64-apple-darwin writes to
target/aarch64-apple-darwin/release/ even for the same triple (macos-latest
is arm64). These two disjoint directories meant the tauri build step
recompiled the entire dependency graph from scratch instead of reusing the
CLI build's cache, roughly doubling job time.

cargo build without --target writes to target/release/, while
tauri build --target aarch64-apple-darwin writes to
target/aarch64-apple-darwin/release/ even for the same triple (macos-latest
is arm64). These two disjoint directories meant the tauri build step
recompiled the entire dependency graph from scratch instead of reusing the
CLI build's cache, roughly doubling job time.
@Ziinc
Ziinc merged commit 677bc08 into main Aug 28, 2026
5 checks passed
@Ziinc
Ziinc deleted the claude/github-workflow-speed-n7t66f branch August 28, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants