Repository navigation
Update dependency ubuntu to v26 - #291
renovate[bot] wants to merge 1 commit into
Conversation
| clang-tidy: | ||
| name: clang-tidy | ||
| runs-on: ubuntu-24.04 | ||
| runs-on: ubuntu-26.04 |
There was a problem hiding this comment.
🔴 C++ static analysis fails on Ubuntu 26.04
On Ubuntu 26.04, clang-tidy adds an LLVM 19 repository for resolute, which apt.llvm.org does not provide. apt-get update fails, blocking the C++ Tools check.
Learn more
The C++ Tools workflow builds an APT source URL from the runner codename in its Install clang-tidy 19 and clang 21 step. On Ubuntu 26.04, that codename is resolute. apt.llvm.org publishes llvm-toolchain-resolute-21 but has no llvm-toolchain-resolute-19, so the source added for LLVM 19 causes sudo apt-get update to fail before any tool installs. The Ubuntu 26.04 package repository itself provides clang-tidy-19 and clang-tools-19.
Example: A PR changing the CI workflow triggers the C++ Tools job on ubuntu-26.04. Its APT update requests llvm-toolchain-resolute-19/Release, receives HTTP 404, and stops before compilation database generation.
Recommended fix: On Ubuntu 26.04, install LLVM 19 tools from Ubuntu's repositories instead of adding the unavailable upstream LLVM 19 source. Keep the existing LLVM 21 source for clang-21 and libclang-21-dev, and verify the package installation and clang-tidy check on that runner.
Was this helpful? React with 👍 or 👎 to provide feedback.
This PR contains the following updates:
24.04→26.04Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.