-
Notifications
You must be signed in to change notification settings - Fork 657
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade iPhone simulator version used in Github Action (#1595)
Summary: Pull Request resolved: #1595 Reviewed By: neildhar Differential Revision: D68351827 fbshipit-source-id: 15cb043871228649fa5a06373e4cd905d49b1db5
- Loading branch information
1 parent
03ef8e1
commit 21da174
Showing
1 changed file
with
16 additions
and
15 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,11 +78,11 @@ jobs: | |
name: linux-hermes | ||
path: output | ||
macos: | ||
runs-on: macos-latest | ||
runs-on: macos-14 | ||
steps: | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: 15.4 | ||
xcode-version: 16.2 | ||
- uses: actions/[email protected] | ||
with: | ||
path: hermes | ||
|
@@ -110,15 +110,15 @@ jobs: | |
name: macos-hermes | ||
path: output | ||
build-apple-runtime: | ||
runs-on: macos-latest | ||
runs-on: macos-14 | ||
env: | ||
TERM: dumb | ||
HERMES_WS_DIR: "/tmp/hermes" | ||
HOMEBREW_NO_AUTO_UPDATE: 1 | ||
steps: | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: 15.4 | ||
xcode-version: 16.2 | ||
- uses: actions/[email protected] | ||
- name: Cache setup | ||
uses: actions/[email protected] | ||
|
@@ -141,11 +141,11 @@ jobs: | |
- name: Build the Mac frameworks | ||
run: "./utils/build-mac-framework.sh" | ||
test-macos: | ||
runs-on: macos-latest | ||
runs-on: macos-14 | ||
steps: | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: 15.4 | ||
xcode-version: 16.2 | ||
- uses: actions/[email protected] | ||
with: | ||
path: hermes | ||
|
@@ -157,7 +157,7 @@ jobs: | |
cmake --build ./build | ||
cmake --build ./build --target check-hermes | ||
test-apple-runtime: | ||
runs-on: macos-latest | ||
runs-on: macos-14 | ||
needs: build-apple-runtime | ||
env: | ||
TERM: dumb | ||
|
@@ -166,7 +166,7 @@ jobs: | |
steps: | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: 15.4 | ||
xcode-version: 16.2 | ||
- uses: actions/[email protected] | ||
- name: Cache setup | ||
uses: actions/[email protected] | ||
|
@@ -193,12 +193,13 @@ jobs: | |
working-directory: test/ApplePlatformsIntegrationTestApp | ||
- name: Test iPhone application | ||
run: |- | ||
# Xcode 15 uses iOS 17 for simulator, and only iPhone 14/15 can work by | ||
# default, so use the oldest working model here. | ||
# macos-14 installs simulators for iPhone 15/16, so use the oldest model | ||
# here: | ||
# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md | ||
xcodebuild test \ | ||
-workspace ApplePlatformsIntegrationTests.xcworkspace \ | ||
-configuration Debug \ | ||
-destination 'platform=iOS Simulator,name=iPhone 14' \ | ||
-destination 'platform=iOS Simulator,name=iPhone 15' \ | ||
-scheme ApplePlatformsIntegrationMobileTests | ||
working-directory: test/ApplePlatformsIntegrationTestApp | ||
- name: Test Apple Vision application | ||
|
@@ -218,7 +219,7 @@ jobs: | |
-scheme ApplePlatformsIntegrationTVOSTests | ||
working-directory: test/ApplePlatformsIntegrationTestApp | ||
package-apple-runtime: | ||
runs-on: macos-latest | ||
runs-on: macos-14 | ||
needs: | ||
- test-macos | ||
- test-apple-runtime | ||
|
@@ -229,7 +230,7 @@ jobs: | |
steps: | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: 15.4 | ||
xcode-version: 16.2 | ||
- uses: actions/[email protected] | ||
- name: Cache setup | ||
uses: actions/[email protected] | ||
|
@@ -566,11 +567,11 @@ jobs: | |
emulator-options: -timezone Europe/Paris -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none | ||
script: cd android && ./gradlew :intltest:prepareTests && ./gradlew -Pabis=x86 :intltest:connectedAndroidTest | ||
test-macos-test262: | ||
runs-on: macos-latest | ||
runs-on: macos-14 | ||
steps: | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: 15.4 | ||
xcode-version: 16.2 | ||
- uses: actions/[email protected] | ||
with: | ||
path: hermes | ||
|