Skip to content

Commit

Permalink
Upgrade MacOS and iPhone simulator version in Github Action (facebook…
Browse files Browse the repository at this point in the history
…#1626)

Summary: Pull Request resolved: facebook#1626

Differential Revision: D69888949
  • Loading branch information
lavenzg authored and facebook-github-bot committed Feb 24, 2025
1 parent bc0d07b commit 5ac52fc
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ jobs:
name: linux-hermes
path: output
macos:
runs-on: macos-14-arm64
runs-on: macos-15-arm64
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 15.4
xcode-version: 16.2
- uses: actions/[email protected]
with:
path: hermes
Expand Down Expand Up @@ -110,15 +110,15 @@ jobs:
name: macos-hermes
path: output
build-apple-runtime:
runs-on: macos-14-arm64
runs-on: macos-15-arm64
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]
Expand All @@ -141,11 +141,11 @@ jobs:
- name: Build the Mac frameworks
run: "./utils/build-mac-framework.sh"
test-macos:
runs-on: macos-14-arm64
runs-on: macos-15-arm64
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 15.4
xcode-version: 16.2
- uses: actions/[email protected]
with:
path: hermes
Expand All @@ -157,7 +157,7 @@ jobs:
cmake --build ./build
cmake --build ./build --target check-hermes
test-apple-runtime:
runs-on: macos-14-arm64
runs-on: macos-15-arm64
needs: build-apple-runtime
env:
TERM: dumb
Expand All @@ -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]
Expand All @@ -193,9 +193,9 @@ jobs:
working-directory: test/ApplePlatformsIntegrationTestApp
- name: Test iPhone application
run: |-
# macos-14 installs simulators for iPhone 15/16, so use the oldest model
# macos-15 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
# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-arm64-Readme.md
xcodebuild test \
-workspace ApplePlatformsIntegrationTests.xcworkspace \
-configuration Debug \
Expand All @@ -219,7 +219,7 @@ jobs:
-scheme ApplePlatformsIntegrationTVOSTests
working-directory: test/ApplePlatformsIntegrationTestApp
package-apple-runtime:
runs-on: macos-14-arm64
runs-on: macos-15-arm64
needs:
- test-macos
- test-apple-runtime
Expand All @@ -230,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]
Expand Down Expand Up @@ -567,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-14-arm64
runs-on: macos-15-arm64
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 15.4
xcode-version: 16.2
- uses: actions/[email protected]
with:
path: hermes
Expand Down

0 comments on commit 5ac52fc

Please sign in to comment.