Skip to content

Commit

Permalink
ci: update to Xcode 15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Mar 26, 2024
1 parent 7e5f450 commit d2f90af
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 36 deletions.
24 changes: 16 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ workflows:
# Default settings for Apple jobs (apple-runtime, test-apple-runtime)
apple_defaults: &apple_defaults
macos:
xcode: 15.2
xcode: 15.3
resource_class: macos.m1.medium.gen1
working_directory: ~/hermes
environment:
Expand All @@ -54,7 +54,7 @@ jobs:
android:
executor:
name: android/android-machine
tag: 2022.04.1
tag: default
working_directory: /home/circleci
environment:
HERMES_WS_DIR: /home/circleci
Expand Down Expand Up @@ -168,6 +168,7 @@ jobs:
- run:
name: Install dependencies
command: |
brew update
brew install cmake ninja
- run:
name: Build the test application
Expand All @@ -189,7 +190,7 @@ jobs:
xcodebuild test \
-workspace ApplePlatformsIntegrationTests.xcworkspace \
-configuration Debug \
-destination 'platform=iOS Simulator,name=iPhone 11' \
-destination 'platform=iOS Simulator,name=iPhone 15' \
-scheme ApplePlatformsIntegrationMobileTests
working_directory: test/ApplePlatformsIntegrationTestApp
- run:
Expand All @@ -216,6 +217,7 @@ jobs:
- run:
name: Install dependencies
command: |
brew update
brew install cmake ninja
sudo gem install cocoapods
- run:
Expand All @@ -231,6 +233,8 @@ jobs:
- ~/hermes/build_catalyst
- ~/hermes/build_iphonesimulator
- ~/hermes/build_macosx
- ~/hermes/build_xros
- ~/hermes/build_xrsimulator
- ~/hermes/destroot

package-apple-runtime:
Expand All @@ -245,6 +249,7 @@ jobs:
- run:
name: Install dependencies
command: |
brew update
brew install cmake ninja
sudo gem install cocoapods
- run:
Expand Down Expand Up @@ -274,13 +279,14 @@ jobs:

macos:
macos:
xcode: 13.4.1
xcode: 15.3
steps:
- checkout:
path: hermes
- run:
name: Install dependencies
command: |
brew update
brew install cmake ninja
- run:
name: Build macOS CLI
Expand Down Expand Up @@ -312,13 +318,14 @@ jobs:

test-macos:
macos:
xcode: 13.4.1
xcode: 15.3
steps:
- checkout:
path: hermes
- run:
name: Install dependencies
command: |
brew update
brew install cmake
- run:
name: Run MacOS regression tests in debug mode
Expand Down Expand Up @@ -625,7 +632,7 @@ jobs:
test-e2e:
executor:
name: android/android-machine
tag: 2023.06.1
tag: default
working_directory: /home/circleci
environment:
REACT_NATIVE_OVERRIDE_HERMES_DIR: /home/circleci/hermes
Expand Down Expand Up @@ -659,7 +666,7 @@ jobs:
test-e2e-intl:
executor:
name: android/android-machine
tag: 2022.04.1
tag: default
working_directory: /home/circleci
environment:
HERMES_WS_DIR: /home/circleci
Expand Down Expand Up @@ -689,13 +696,14 @@ jobs:

test-macos-test262:
macos:
xcode: 13.4.1
xcode: 15.3
steps:
- checkout:
path: hermes
- run:
name: Setup dependencies
command: |
brew update
brew install cmake ninja
# Check out test262 at a pinned revision to reduce flakiness
git clone https://github.com/tc39/test262
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
763321222BA9C44A00196D44 /* Sources */,
763321242BA9C44A00196D44 /* Frameworks */,
763321262BA9C44A00196D44 /* Resources */,
435628D49B6BC31C74289379 /* [CP] Embed Pods Frameworks */,
A40DB045A6B42E1D7C096522 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand All @@ -238,7 +238,7 @@
AD6479D424EBE09200B0F41F /* Sources */,
AD6479D524EBE09200B0F41F /* Frameworks */,
AD6479D624EBE09200B0F41F /* Resources */,
5C23FC272673F5AD219A0D97 /* [CP] Embed Pods Frameworks */,
D9EB36AC6F6D3A86B901EAA7 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand All @@ -258,7 +258,7 @@
ADEC7BB924EBFF44005AD0D1 /* Sources */,
ADEC7BBA24EBFF44005AD0D1 /* Frameworks */,
ADEC7BBB24EBFF44005AD0D1 /* Resources */,
22B5AC04C28FCCE8323CA719 /* [CP] Embed Pods Frameworks */,
81D7463786BE4D10D9095FBE /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -365,24 +365,29 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
22B5AC04C28FCCE8323CA719 /* [CP] Embed Pods Frameworks */ = {
26837883FBFEF6D4E7150AD1 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationMacTests/Pods-ApplePlatformsIntegrationMacTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationMacTests/Pods-ApplePlatformsIntegrationMacTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-ApplePlatformsIntegrationMobileTests-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationMacTests/Pods-ApplePlatformsIntegrationMacTests-frameworks.sh\"\n";
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
26837883FBFEF6D4E7150AD1 /* [CP] Check Pods Manifest.lock */ = {
763321212BA9C44A00196D44 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
Expand All @@ -397,67 +402,62 @@
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-ApplePlatformsIntegrationMobileTests-checkManifestLockResult.txt",
"$(DERIVED_FILE_DIR)/Pods-ApplePlatformsIntegrationVisionOSTests-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
435628D49B6BC31C74289379 /* [CP] Embed Pods Frameworks */ = {
81D7463786BE4D10D9095FBE /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationVisionOSTests/Pods-ApplePlatformsIntegrationVisionOSTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationMacTests/Pods-ApplePlatformsIntegrationMacTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationVisionOSTests/Pods-ApplePlatformsIntegrationVisionOSTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationMacTests/Pods-ApplePlatformsIntegrationMacTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationVisionOSTests/Pods-ApplePlatformsIntegrationVisionOSTests-frameworks.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationMacTests/Pods-ApplePlatformsIntegrationMacTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
5C23FC272673F5AD219A0D97 /* [CP] Embed Pods Frameworks */ = {
A40DB045A6B42E1D7C096522 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationMobileTests/Pods-ApplePlatformsIntegrationMobileTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationVisionOSTests/Pods-ApplePlatformsIntegrationVisionOSTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationMobileTests/Pods-ApplePlatformsIntegrationMobileTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationVisionOSTests/Pods-ApplePlatformsIntegrationVisionOSTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationMobileTests/Pods-ApplePlatformsIntegrationMobileTests-frameworks.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationVisionOSTests/Pods-ApplePlatformsIntegrationVisionOSTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
763321212BA9C44A00196D44 /* [CP] Check Pods Manifest.lock */ = {
D9EB36AC6F6D3A86B901EAA7 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationMobileTests/Pods-ApplePlatformsIntegrationMobileTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-ApplePlatformsIntegrationVisionOSTests-checkManifestLockResult.txt",
"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationMobileTests/Pods-ApplePlatformsIntegrationMobileTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ApplePlatformsIntegrationMobileTests/Pods-ApplePlatformsIntegrationMobileTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand Down

0 comments on commit d2f90af

Please sign in to comment.