Skip to content

CI Add Clang-18 C++23 regression tests #1154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

jarzec
Copy link
Contributor

@jarzec jarzec commented Jul 8, 2024

As stated in the tile. After #1088 cppfront compiles using Clang-18 with C++23 selected. For this to work an up-to-date libc++ has to be used.

  • The build-cppfornt.yml workflow file is modified as Clang-18 accepts c++23 as language standard option.
  • The regression-tests.yml is modified to include the new compiler options.
  • Reference files are added.
  • run-tests.sh is modified to make the label option (-l) mandatory. If it is not provided error reporting fails.

The added compiler option is the only one that allows for all tests to compile on Ubuntu. Out of all the other options only mac-14 | clang++ | c++2b | default and win-22 | cl.exe | c++latest | default correctly lower and compile all the regression test.

@hsutter
Copy link
Owner

hsutter commented Jul 8, 2024

Thanks!

@hsutter hsutter merged commit e89b6ba into hsutter:main Jul 8, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants