hsutter / cppfront

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

[Suggestion] Add Ubuntu tests for GCC 14 and Clang 18 #1079

Closed jarzec closed 1 month ago

jarzec commented 1 month ago

Now that Ubuntu 24.04 LTS is out and a respective GitHub runner is already available it seems to make a lot of sense to add GCC 14 and Clang 18 to the test suite. Both compilers are installed by default on the ubuntu-24.04 GitHub runner.

With C++26 in sight it might also be the time to drop tests (not yet done in this PR):

Thoughts anyone?

hsutter commented 1 month ago

Thanks! Quick check:

With C++26 in sight it might also be the time to drop tests (not yet done in this PR):

  • on ubuntu-20.04,
  • for GCC 10,
  • for Clang 12.

Actually this PR does remove GCC 10 for the regression tests, right?

I'd like to keep GCC 10 and Clang 12 as a baseline, because right now they do work (with only a few exceptions that should all have diagnostics), and I'd like to know when we come to the point where something in the code gen causes generated code to no longer be compatible with them. (FWIW, I do my own local testing with GCC 10 and 13, and Clang 12.)

jarzec commented 1 month ago

Thanks! Quick check:

With C++26 in sight it might also be the time to drop tests (not yet done in this PR):

  • on ubuntu-20.04,
  • for GCC 10,
  • for Clang 12.

Actually this PR does remove GCC 10 for the regression tests, right?

I'd like to keep GCC 10 and Clang 12 as a baseline, because right now they do work (with only a few exceptions that should all have diagnostics), and I'd like to know when we come to the point where something in the code gen causes generated code to no longer be compatible with them. (FWIW, I do my own local testing with GCC 10 and 13, and Clang 12.)

As I mentioned in the earlier comment I did keep all the compilers used so far. You can confirm that in the list of checks (GCC 10 and Clang 12).

hsutter commented 1 month ago

Thanks! I overlooked it, sorry.