-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: bazel build failure on recent PRs - no such file clang #1275
Comments
The runner's don't seem to have changed, e.g. from since my first thought is maybe the runners don't have llvm-14. But that doesn't seem to be the case. |
Even though the runner name is ubuntu-22.04 in the failing link above toggling the runner image seems like its ubuntu 24 Operating System and looking at the release the software inclued is clang 16+ |
clang 14 was the default in the previous runner |
Our merges to main use
and when i toggle the runner image they are all explicitly 22.04 so maybe that's why main is fine so far |
In this failing run we are pulling the cache from main: https://github.com/google/heir/actions/runs/12822845640/job/35781192813 So I thinkkkk the issue is because of these runner mismatches |
I'm going to try a test PR with no cache on build and test and confirm that we can bazel build w/o cache on the new runner assuming it pulls clang 16+ |
I also see this warning: Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@88522ab. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions Might be worth updating the cache action version. |
Nice find! OK I'll update my test PR in #1276 since it appears to be making progress in building and finding a suitable clang version:
|
For posterity this was really the issue: actions/runner-images#11327 Despite labeling the runner as 22.04 we were still seeing 24.04 runners |
I'm noticiing PRs with:
I'll investigate and see if I can fix.
The text was updated successfully, but these errors were encountered: