mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-03-21 19:41:58 +00:00
Using sccache results in a more efficient cache usage. GitHub's built-in cache appears to grow over time and takes ~3minutes to download for the Windows Tauri builds where it is ~2GB large. Whilst researching bad performance on Windows runners in general, I came across the hint to disable Windows defender which appears to slow things down massively in the case of sccache which performs many small network downloads and file writes. This PR harmonizes our cache usage and prefers sccache over GitHub's cache for everything apart from `cross` builds. The runtimes are either roughly the same or noticeably better. Overally, the GUI smoke tests are usually among the last ones to finish, meaning these changes should have an overall net-positive impact on CI time. |[`main`](https://github.com/firezone/firezone/actions/runs/9707704927)|[`head`](https://github.com/firezone/firezone/actions/runs/9709368060)| |---|---| ||| ||| ||| ||| ||| |||