Skip to content

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

Merged
hsutter merged 2 commits intohsutter:mainfrom
jarzec:ci-add-clang-18-c++23-tests
Jul 8, 2024
Merged

CI Add Clang-18 C++23 regression tests#1154
hsutter merged 2 commits intohsutter:mainfrom
jarzec:ci-add-clang-18-c++23-tests

Conversation

@jarzec
Copy link
Copy Markdown
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
Copy Markdown
Owner

hsutter commented Jul 8, 2024

Thanks!

@hsutter hsutter merged commit e89b6ba into hsutter:main Jul 8, 2024
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