Skip to content
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

[CI] Make cmake.c++20*.test actualy use C++20 and add cmake.c++23*.test #2496

Merged
merged 3 commits into from
Jan 22, 2024

Conversation

bcsgh
Copy link
Contributor

@bcsgh bcsgh commented Jan 19, 2024

Part of #2470

Changes

The existing cmake.c++20*.test cases don't actually pin C++2020 but either don't use WITH_STL= at all or set it to ON. This results in a strange mix of "version" between the name of the test, the version the library thinks is being used and what is actually being used by the build

Also, there was no explicit C++2023 tests.

@bcsgh
Copy link
Contributor Author

bcsgh commented Jan 19, 2024

BTW: I make no claim to actually knowing how this works, so please don't just assume it's correct!

@bcsgh bcsgh marked this pull request as ready for review January 19, 2024 17:31
@bcsgh bcsgh requested a review from a team January 19, 2024 17:31
Copy link

codecov bot commented Jan 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (02b984a) 87.09% compared to head (8c06028) 87.09%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2496   +/-   ##
=======================================
  Coverage   87.09%   87.09%           
=======================================
  Files         200      200           
  Lines        6103     6103           
=======================================
  Hits         5315     5315           
  Misses        788      788           

ci/do_ci.sh Show resolved Hide resolved
ci/do_ci.sh Show resolved Hide resolved
ci/do_ci.sh Show resolved Hide resolved
ci/do_ci.sh Show resolved Hide resolved
Copy link
Member

@owent owent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and thanks.

@marcalff marcalff changed the title Make cmake.c++20*.test actualy use C++20 and add cmake.c++23*.test [CI] Make cmake.c++20*.test actualy use C++20 and add cmake.c++23*.test Jan 21, 2024
.github/workflows/ci.yml Outdated Show resolved Hide resolved
Copy link
Member

@marcalff marcalff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the cleanup.

Copy link
Member

@lalitb lalitb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@ThomsonTan ThomsonTan merged commit 8f88553 into open-telemetry:main Jan 22, 2024
48 checks passed
@bcsgh bcsgh deleted the bcsgh/2470/ci-20-23 branch January 22, 2024 21:56
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.

5 participants