generated from nhcarrigan/template
fix(ci): pin LLVM 18 for Windows cross-compilation #17
Reference in New Issue
Block a user
Delete Branch "fix/ci"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The Windows build job has been failing on every PR since the initial release. The root cause is that the default
clang/lld/llvmapt packages resolve to an older version ofllvm-rcthat cannot handle PNG-compressed entries in.icofiles — and all six images inicon.icouse PNG compression.Pinning to
clang-18,lld-18, andllvm-18(available in Ubuntu 24.04's default repos) and registering them viaupdate-alternativesensuresllvm-rc,clang-cl,lld-link, and friends all resolve to a version that handles the icon resource correctly.✨ This PR was created with help from Hikari~ 🌸