-
Notifications
You must be signed in to change notification settings - Fork 740
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
fix various pipeline failures #1172
Conversation
Looks like actions/runner-images#10703 took away support for xcode 14. That is why the latest action failed. There an active PR adding support for xcode 16 to the macos runner (actions/runner-images#10967). This commit will fail until that has been merged, but it is probably worth waiting for.
CI checks are failing because the cmake version requires cmake minimum requires >= 3.10. This PR addresses that issue.
Note: not using the latest version (v1.15.2) because there is a bug requiring that requires -std=c++17 to build.
71b58d1
to
373a18c
Compare
@@ -38,7 +38,7 @@ jobs: | |||
echo "Emulator starting in background" | |||
|
|||
- name: Configure | |||
run: cmake -Werror=dev -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_LATEST_HOME/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=16 -DANDROID_ABI=x86_64 -DCMAKE_BUILD_TYPE=Debug .. |
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.
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 comment
The 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.
CI checks are failing because the cmake version requires cmake minimum requires >= 3.10. This PR addresses that issue.
Looks like actions/runner-images#10703 took away support for xcode 14. That is why the latest action failed. There an active PR adding support for xcode 16 to the macos runner (actions/runner-images#10967). This commit will fail until that has been merged, but it is probably worth waiting for. Edit: Looks like that PR was closed, so we won't wait.