Skip to content

Commit

Permalink
test(ci, ios): switch to macos-14 / apple silicon, iPhone 14
Browse files Browse the repository at this point in the history
this allows us access to the most up to date Xcode / macOS combos,
but they don't contain macOS 14

note: needs build testing to make sure we make a library that's compatible
with apple silicon and intel silicon for macOS targets
  • Loading branch information
mikehardy committed Apr 9, 2024
1 parent 432586e commit 02713d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests_e2e_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:
jobs:
ios:
name: iOS
runs-on: macos-latest
runs-on: macos-14
# TODO matrix across APIs, at least 10 and 13 (lowest to highest)
timeout-minutes: 60
env:
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Start Simulator
# The first time you try to `yarn run:ios` after xcode-select, it fails, so get it out of the way...
continue-on-error: true
run: xcrun simctl boot "iPhone 14"
run: xcrun simctl boot "iPhone 15"

# Set path variables needed for caches
- name: Set workflow variables
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
"tests_rn:packager": "cd tests_react_native && npx react-native start",
"tests_rn:packager:reset-cache": "cd tests_react_native && npx react-native start --reset-cache",
"run:android": "cd tests_react_native && npx react-native run-android --variant 'debug'",
"run:ios": "cd tests_react_native && npx react-native run-ios --scheme=Notifee --simulator 'iPhone 14'",
"run:ios": "cd tests_react_native && npx react-native run-ios --scheme=Notifee --simulator 'iPhone 15'",
"tests_rn:test": "cd tests_react_native && jest",
"tests_rn:test-watch": "cd tests_react_native && jest --watch",
"tests_rn:test-coverage": "cd tests_react_native && jest --coverage",
"tests_rn:android:build": "cd tests_react_native/android && ./gradlew assembleDebug -DtestBuildType=debug",
"tests_rn:android:test": "cd tests_react_native && npm_config_yes=true npx cavy-cli run-android --no-jetifier",
"tests_rn:ios:test": "cd tests_react_native && npm_config_yes=true npx cavy-cli run-ios --scheme=Notifee --simulator 'iPhone 14'",
"tests_rn:ios:test": "cd tests_react_native && npm_config_yes=true npx cavy-cli run-ios --scheme=Notifee --simulator 'iPhone 15'",
"tests_rn:ios:pod:install": "cd tests_react_native && npm_config_yes=true npx pod-install && cd .."
},
"devDependencies": {
Expand Down

0 comments on commit 02713d4

Please sign in to comment.