Use apt packaged cmake version in tester #5562
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We have some unexplained test failures in the
indent
tester in thecompile
stage (see e.g. #5560). After some investigation I found this: It looks like the new cmake (3.28.2) version that was included in the github actions runner yesterday broke the compatibility of precompiled headers and unity builds (see discussion here). cmake 3.28.3 should fix this, but who knows when it will be released and deployed in the actions runner. Therefore this PR tries to circumvent the problem by using the apt packaged version of cmake on the runner (that we install anyway). If this works the tester should now use cmake 3.16 which comes with ubuntu 20.04. We can revert this change later.