Closed kotori2 closed 1 year ago
Same thing happens even if I am using scache
Could be that we're seeing something similar here: https://github.com/mamba-org/mamba/actions/runs/3098337422/jobs/5016125123
I'm also using vcpkg in CMake, not sure if it affects the result. Gonna test tmrw.
The stats show that sccache
isn't even called.
There is an upstream issue: https://github.com/mozilla/sccache/issues/1097
I do not see what we can do here as part of the ccache action.
In my case it is because CMake is using MSBuild by default, which is not supported by ccache. Simply switching to Ninja makes everything works. I think for micromambda it's the same error since they are using msbuild.
Stackoverflow save lives
https://stackoverflow.com/questions/72829476/how-to-use-ccache-4-6-1-on-windows-msvc-with-cmake
key steps:
Paths seems set correctly before build.
But actually nothing was even passed through ccache:
The configuration works perfectly on Linux and macOS build, I'm pretty confused what step I'm missing.