Adds support for ubuntu 22.04 runs in the CI with caching abilities.
Also contains some rework for the ubuntu 20.04 scripts.
Unfortunately, since matrix actions doesn't support dynamic variables (outputs), the cache keys had to be hard-coded for each OS. In my opinion, considering how many OSes we target, it shouldn't lead to scaling issues.
During the parse job, the current matrix.os with the combination of one of the output keys ensures that the correct dependencies will be used.
Adds support for ubuntu 22.04 runs in the CI with caching abilities. Also contains some rework for the ubuntu 20.04 scripts.
Unfortunately, since matrix actions doesn't support dynamic variables (outputs), the cache keys had to be hard-coded for each OS. In my opinion, considering how many OSes we target, it shouldn't lead to scaling issues.
During the
parse
job, the currentmatrix.os
with the combination of one of the output keys ensures that the correct dependencies will be used.fixes #631