]> git.ipfire.org Git - thirdparty/ccache.git/commit
ci: Add jobs for building binaries for Windows and Linux 1598/head
authorMartin Storsjö <martin@martin.st>
Tue, 10 Jun 2025 10:53:41 +0000 (13:53 +0300)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 5 Aug 2025 17:38:01 +0000 (19:38 +0200)
commitc468dad88177217484d0508ee783c440ecf9deb2
treeb6d1c9340838797421e36381ee779de824c0309f
parentd608b2aedbf60a326f48cfc3162dd3ece232556a
ci: Add jobs for building binaries for Windows and Linux

Build binaries for x86_64 and aarch64 on Linux, and i686, x86_64
and aarch64 for Windows.

The Windows binaries are cross compiled from Linux. For x86, it
uses distro provided compilers, while it uses llvm-mingw installed
separately for targeting aarch64. (Most distros don't have packages
for mingw cross compilers for targeting Windows on aarch64 yet. GCC
isn't mature for this target yet, but Clang has supported this
target for many years now. Llvm-mingw is essentially the same toolchain
setup as MSYS2 uses in their clangarm64 environment, but available
as a standalone cross compiler too.)
.github/workflows/build.yaml
ci/build-binary [new file with mode: 0755]