mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
[LOCAL][RN][CI] Fix Hermes for iOS in CI
This commit is contained in:
@@ -786,6 +786,9 @@ jobs:
|
||||
- HERMES_WS_DIR: *hermes_workspace_root
|
||||
- HERMES_TARBALL_ARTIFACTS_DIR: *hermes_tarball_artifacts_dir
|
||||
- HERMES_OSXBIN_ARTIFACTS_DIR: *hermes_osxbin_artifacts_dir
|
||||
- XROS_DEPLOYMENT_TARGET: "1.0"
|
||||
- MACOSX_DEPLOYMENT_TARGET: "10.15"
|
||||
- IPHONEOS_DEPLOYMENT_TARGET: "13.4"
|
||||
steps:
|
||||
- *attach_hermes_workspace
|
||||
- stop_job_if_apple_artifacts_are_there:
|
||||
|
||||
+2
-1
@@ -112,5 +112,6 @@
|
||||
"supports-color": "^7.1.0",
|
||||
"typescript": "5.0.4",
|
||||
"ws": "^6.2.2"
|
||||
}
|
||||
},
|
||||
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
||||
}
|
||||
|
||||
@@ -26,9 +26,9 @@ function get_architecture {
|
||||
|
||||
function get_deployment_target {
|
||||
if [[ $1 == "xros" || $1 == "xrsimulator" ]]; then
|
||||
"$(get_visionos_deployment_target)"
|
||||
echo "$(get_visionos_deployment_target)"
|
||||
else
|
||||
"$(get_ios_deployment_target)"
|
||||
echo "$(get_ios_deployment_target)"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user