]> git.ipfire.org Git - thirdparty/ccache.git/commit
ci: Use pacboy to simplify installation of msys2 packages
authorMartin Storsjö <martin@martin.st>
Tue, 10 Jun 2025 10:28:53 +0000 (13:28 +0300)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 5 Aug 2025 17:38:01 +0000 (19:38 +0200)
commit18d777fffd0a8d778999eccfc7bd898d628aeedd
treefafaa0b7a7628118385b9ef1d204f3d7950ed2c0
parent3a19032a2e4573f9b403e0f034317b2f4bc1843e
ci: Use pacboy to simplify installation of msys2 packages

See [1] and [2] for reference on using pacboy to simplify installing
mingw packages in msys2. The relevant bit to know is that by
specifying plain package names with a ":p" suffix, in the "pacboy"
section in msys2/setup-msys2, those packages are installed within
the current msys2 environment.

This avoids needing to specify the long package prefix like
"mingw-w64-x86_64". For other environments like "ucrt64", "clang64"
and "clangarm64", the prefix is even longer and less obvious.

[1] https://github.com/msys2/setup-msys2?tab=readme-ov-file#pacboy
[2] https://www.msys2.org/docs/package-naming/#avoiding-writing-long-package-names
.github/workflows/build.yaml