-
Notifications
You must be signed in to change notification settings - Fork 47
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
Use latest googletest for builds on macOS 11.0 or higher #937
Conversation
…_telemetry into macos-11-googletest
@sid-dahiya @reyang Can you please approve this PR. As GH virtual machines for macOS are upgraded from 10.15 to 11.6, the CI pipeline is failing. This PR fixes to use the latest googletest from submodule/clone for ubuntu 20.04 and macOS 11.x, and existing older from /googletest for other platforms. For #994 which tries to upgrade googletest for all the platforms, let's discuss it before, as it may break build for older platforms not part of CI and which we still support. The CI pipeline is sometimes failing for #969 (segfault while running c-api tests), which I will address separately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…_telemetry into macos-11-googletest
As discussed over 1ds.sdk.cpp channel in Teams, the functional/unit tests are currently failing for the latest macOS version. The clang compiler on this OS is perhaps not happy with the older version of google-test brought as part of this repo. This PR ensures that we use the latest google-test version for macOS 11.0 or higher.
The older gtest/gmock version is coming from: https://github.com/microsoft/cpp_client_telemetry/tree/main/googletest .
The latest gtest/gmock version is used from third_party/googletest ( either cloned as submodule or else downloaded and copied in that path during build)
Note: github VM for
macos-latest
points tomacos-10.15
, so the problem is not caught in our CI pipeline.