CesiumGS / cesium-native

Apache License 2.0
414 stars 210 forks source link

Integrate CCache/SCCache with CI builds #814

Closed jherico closed 4 months ago

jherico commented 6 months ago

Been working on the Vulkan-Samples repository and they use a ccache and sccache in their CI build process via a github actions plugin, and a small tweak to the CMake script. This typically reduces build times to only a few minutes per platform.

I could adapt this to the Cesium native project and likely reduce build times into single-digit minutes.

The one caveat is that ccache doesn't work with the Visual Studio generator, so in order to keep windows builds from being the "tall pole" we'd have to use Ninja for builds on windows (it would still use the Visual Studio toolset).