fix(ci): pin LLVM 18 for Windows cross-compilation (#17)
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m13s
CI / Lint & Check (push) Successful in 13m23s
CI / Build Windows (push) Successful in 36m51s

## Summary

The Windows build job has been failing on every PR since the initial release. The root cause is that the default `clang`/`lld`/`llvm` apt packages resolve to an older version of `llvm-rc` that cannot handle PNG-compressed entries in `.ico` files — and all six images in `icon.ico` use PNG compression.

Pinning to `clang-18`, `lld-18`, and `llvm-18` (available in Ubuntu 24.04's default repos) and registering them via `update-alternatives` ensures `llvm-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~ 🌸

Reviewed-on: #17
Co-authored-by: Hikari <hikari@nhcarrigan.com>
Co-committed-by: Hikari <hikari@nhcarrigan.com>
This commit was merged in pull request #17.
This commit is contained in:
2026-04-13 16:21:42 -07:00
committed by Naomi Carrigan
parent 662d6119fa
commit 5bfd25e60d
Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 KiB

After

Width:  |  Height:  |  Size: 364 KiB