Skip to content

ci: streamline pull request build matrix - #1771

Open
khanra17 wants to merge 3 commits into
jlcodes99:mainfrom
khanra17-org:ci/streamline-pr-build-matrix
Open

khanra17 wants to merge 3 commits into
jlcodes99:mainfrom
khanra17-org:ci/streamline-pr-build-matrix

Conversation

@khanra17

Copy link
Copy Markdown
Contributor

Summary

  • compile and link the real Tauri executable for all five existing OS/architecture targets without release-only packaging
  • prepare frontend assets and CGO-free Go sidecars once, then reuse them across the native matrix
  • add exact-output and incremental TypeScript, Go, and Rust caches, including useful cache saves after late failures
  • add a fast CI-only Cargo profile while preserving release profile behavior
  • retain clear platform-specific job names and GitHub step summaries

Timing comparison

Measured on GitHub-hosted runners against the latest successful upstream Build Matrix run. Runner load and cache state can vary.

Scenario Wall time Difference
Upstream matrix 34m53s baseline
Optimized final validation 4m26s about 87% faster / 7.9x
Optimized one-line changes in frontend, Go, and Rust 4m56s about 86% faster / 7.1x

Notable one-line-change cache results:

  • frontend check/build: 51s to 13s
  • Go sidecars: 2m52s to 6s
  • Windows Rust compile: 6m07s to 2m08s
  • shared preparation: 4m31s to 1m06s

The upstream baseline includes a 33m49s universal macOS verification build. Universal installers remain covered by the release workflow; PR verification still compiles and verifies both macOS architecture executables.

Verification

Commits

  • build: avoid redundant universal sidecar builds
  • ci: add fast verification build profile
  • ci: streamline pull request build matrix

@khanra17
khanra17 force-pushed the ci/streamline-pr-build-matrix branch 3 times, most recently from 66655df to 16831d3 Compare August 3, 2026 11:15
@khanra17
khanra17 force-pushed the ci/streamline-pr-build-matrix branch 3 times, most recently from 04c29fa to 66a4ba1 Compare August 16, 2026 08:09
@khanra17
khanra17 force-pushed the ci/streamline-pr-build-matrix branch 2 times, most recently from 3120d6b to 1b37056 Compare August 31, 2026 09:04
@khanra17
khanra17 force-pushed the ci/streamline-pr-build-matrix branch 4 times, most recently from 2e08e44 to 9134609 Compare September 9, 2026 15:18
@khanra17
khanra17 force-pushed the ci/streamline-pr-build-matrix branch 6 times, most recently from 3968696 to aba90da Compare September 17, 2026 04:39
@khanra17
khanra17 force-pushed the ci/streamline-pr-build-matrix branch 3 times, most recently from 9de3919 to 6a4f949 Compare September 23, 2026 06:36
@khanra17
khanra17 force-pushed the ci/streamline-pr-build-matrix branch 2 times, most recently from aa95299 to 25eb63d Compare September 28, 2026 06:19
@khanra17
khanra17 force-pushed the ci/streamline-pr-build-matrix branch 3 times, most recently from 66640a1 to 573ce72 Compare October 12, 2026 04:03
@khanra17
khanra17 force-pushed the ci/streamline-pr-build-matrix branch from 573ce72 to e8e155e Compare October 16, 2026 04:39
@khanra17
khanra17 force-pushed the ci/streamline-pr-build-matrix branch from e8e155e to d64b3c2 Compare October 25, 2026 17:42
± Conflicts:
±	.github/workflows/build-matrix.yml
@khanra17
khanra17 force-pushed the ci/streamline-pr-build-matrix branch from d64b3c2 to c2a2376 Compare October 27, 2026 07:34

This branch has not been deployed

No deployments
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.

1 participant