Skip to content

Commit a61d9f2

Browse files
committed
test(ci, perf): use macos-14 runner / iPhone 15 in CI
the new apple silicon runner should be substantially faster, additionally we should switch to an iPhone definition that is included by default in Xcode 15 since we're moving all the way from macos-12 to macos-14 runner and the Xcode (with its simulator definitions) is jumping versions
1 parent 6612693 commit a61d9f2

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/workflows/tests_e2e_ios.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,12 @@ concurrency:
2727
jobs:
2828
ios:
2929
name: iOS
30-
runs-on: macos-12
30+
runs-on: macos-14
3131
# TODO matrix across APIs, at least 11 and 15 (lowest to highest)
3232
timeout-minutes: 100
3333
env:
3434
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3535
steps:
36-
# macOS13 runners are slooooow
37-
# This is from: https://github.com/actions/runner-images/issues/7971#issuecomment-1824430407
38-
- name: macOS-13-runner speedup
39-
run: |
40-
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.diagnosticd.plist
41-
4236
# Set up tool versions
4337
- uses: actions/setup-node@v3
4438
with:

tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@
6363
"build": "set -o pipefail && xcodebuild VALID_ARCHS=\"`uname -m`\" CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace ios/testing.xcworkspace -scheme testing -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build | xcbeautify",
6464
"type": "ios.simulator",
6565
"device": {
66-
"type": "iPhone 14"
66+
"type": "iPhone 15"
6767
}
6868
},
6969
"ios.sim.release": {
7070
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/testing.app",
7171
"build": "export RCT_NO_LAUNCH_PACKAGER=true && set -o pipefail | xcodebuild CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ -workspace ios/testing.xcworkspace -scheme testing -configuration Release -sdk iphonesimulator -derivedDataPath ios/build | xcbeautify",
7272
"type": "ios.simulator",
7373
"device": {
74-
"type": "iPhone 14"
74+
"type": "iPhone 15"
7575
}
7676
},
7777
"android.emu.debug": {

0 commit comments

Comments
 (0)