ubuntu-latest is an alias which over time changes and points at newer ubuntu images. Different ubuntu images have different compiler versions installed and newer images drop older compiler versions.
So to prevent the CI jobs from failing when the ubuntu-latest alias changes I've modified the workflow to use a specific ubuntu version for the g++-10 and clang++-15 jobs, and this ubuntu-22.04 image is documented to have gcc 10 and clang 15 installed.
ubuntu-latest
is an alias which over time changes and points at newer ubuntu images. Different ubuntu images have different compiler versions installed and newer images drop older compiler versions.So to prevent the CI jobs from failing when the
ubuntu-latest
alias changes I've modified the workflow to use a specific ubuntu version for theg++-10
andclang++-15
jobs, and thisubuntu-22.04
image is documented to have gcc 10 and clang 15 installed.