[CI] Use ccache for Windows builds (#8332)
authorAndres Noetzli <andres.noetzli@gmail.com>
Thu, 17 Mar 2022 16:55:23 +0000 (09:55 -0700)
committerGitHub <noreply@github.com>
Thu, 17 Mar 2022 16:55:23 +0000 (16:55 +0000)
commit4e449aaf39ef7e60eb721d4f6887b35d9386ad4d
tree5d3207bfa63c5c635dbb2e60e3b5db65d2cad47f
parentdde7cfed1a4bebe3ecfd54403f26afa1ae538bef
[CI] Use ccache for Windows builds (#8332)

On Ubuntu, there are ccache symlinks for `x86_64-w64-mingw32-gcc` and `x86_64-w64-mingw32-g++` but not the POSIX-specific variants. Furthermore, not all Linux distributions add the `-posix` suffix for that variant. Thus, this commit changes our Toolchain file to use the more generic `x86_64-w64-mingw32-gcc` and `x86_64-w64-mingw32-g++` compiler names and changes our CI to use the POSIX variant by default.
.github/actions/install-dependencies/action.yml
cmake/Toolchain-mingw64.cmake