hsutter / cppfront

A personal experimental C++ Syntax 2 -> Syntax 1 compiler
Other
5.24k stars 224 forks source link

[CI] Replace `ubuntu-latest` with an explicit ubuntu version #1078

Closed bluetarpmedia closed 1 month ago

bluetarpmedia commented 1 month ago

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.

hsutter commented 1 month ago

Thanks!