Changed the workflow to be able to support installation of older versions of clang #174
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.
This PR changes the CI workflow for correcting the error that occurs when tests begin (shown in the screenshot below).

GitHub's ubuntu-latest runner switched to a later Ubuntu version that doesn't support clang 11 and 12 in its default repositories, and these versions are included in our matrix. As can be seen in the screenshot, the package list shows entries the prefix noble which is for Ubuntu 24.04, not jammy jellyfish anymore as in 22.04.
So we have to go to llvm-toolchain repository for the correct Ubuntu version codename to allow apt to install the versions needed. It's ends up being a mix of both distributions, but so far the only solution found.
EDIT: trying now with focal fossa because there's no repository for clang-12 in jammy either