-
Notifications
You must be signed in to change notification settings - Fork 739
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
fix various pipeline failures #1172
Merged
carsonRadtke
merged 12 commits into
microsoft:main
from
carsonRadtke:fix-cmake-min-version
Nov 25, 2024
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
d71d522
fix failing macos test
carsonRadtke ed2ec20
Set cmake_minimum_required to 3.10
carsonRadtke 6080917
update googletest to v1.15.2
carsonRadtke 8d6c047
use googletest v1.14.0
carsonRadtke afc2b09
Merge branch 'fix-macos-pipeline' into fix-cmake-min-version
carsonRadtke ed21da6
looks like xcode 16.1 support is not coming soon
carsonRadtke c0a4f04
suppress incorrect warning when compiling gtest
carsonRadtke d334a4f
google test does not work with gcc12
carsonRadtke 56f197d
disable deprecated errors for android
carsonRadtke 373a18c
undo deleted space
carsonRadtke 916375d
fix typo gcc excludes
carsonRadtke ddc5690
remove warnings from cmake android. we have no control over the conte…
carsonRadtke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
cmake_minimum_required(VERSION 3.0.2) | ||
cmake_minimum_required(VERSION 3.13) | ||
project(googletest-download NONE) | ||
|
||
include(ExternalProject) | ||
ExternalProject_Add(googletest | ||
GIT_REPOSITORY https://github.com/google/googletest.git | ||
GIT_TAG 1b18723e874b256c1e39378c6774a90701d70f7a | ||
GIT_TAG v1.14.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not the latest version, but v1.15 is incompatible with -std=c++14. |
||
SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-src" | ||
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/googletest-build" | ||
CONFIGURE_COMMAND "" | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
actions/runner-images claims that cmake version 3.22.1 ships with Android on macos-14, but I couldn't find it. I would prefer using the builtin one (and keep the -Werror=dev flag), but at the end of the day we control neither the image nor the cmake file so removing the dev flag is fine.