Skip to content

Commit

Permalink
Update Xcode in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsocj-cb committed Sep 22, 2022
1 parent ad19c2f commit 8909520
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 39 deletions.
37 changes: 1 addition & 36 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,40 +33,7 @@ jobs:
e2e_release_ios:
executor:
name: rn/macos
xcode_version: '13.1.0'
steps:
- checkout
- run:
name: install applesimutils
command: |
HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew >/dev/null
HOMEBREW_NO_INSTALL_CLEANUP=1 HOMEBREW_NO_AUTO_UPDATE=1 brew install applesimutils >/dev/null
- rn/ios_simulator_start:
device: 'iPhone 11'
# - rn/yarn_install
- run:
command: yarn install --frozen-lockfile
name: yarn install
- run:
command: yarn bundle:ios
name: bundle js
- rn/pod_install:
pod_install_directory: 'example/ios'
- run:
command: yarn detox:ios:build:release
name: build app for e2e tests
- run:
command: yarn detox:ios:test:release
name: run e2e tests
- store_artifacts:
path: ./artifacts

e2e_release_ios_fabric:
executor:
name: rn/macos
xcode_version: '13.1.0'
environment:
RCT_NEW_ARCH_ENABLED: 1
xcode_version: '14.0.0'
steps:
- checkout
- run:
Expand Down Expand Up @@ -155,13 +122,11 @@ workflows:
jobs:
- analyse_js
- e2e_release_ios
- e2e_release_ios_fabric
- e2e_release_android
- publish:
requires:
- e2e_release_android
- e2e_release_ios
- e2e_release_ios_fabric
filters:
branches:
only: master
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,18 @@
"configurations": {
"ios.sim.debug": {
"binaryPath": "example/ios/build/Build/Products/Debug-iphonesimulator/ReactTestApp.app",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace example/ios/date-time-picker-example.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 11' -scheme date-time-picker-example -configuration Debug -derivedDataPath example/ios/build -UseModernBuildSystem=YES",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace example/ios/date-time-picker-example.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 13' -scheme date-time-picker-example -configuration Debug -derivedDataPath example/ios/build -UseModernBuildSystem=YES",
"type": "ios.simulator",
"device": {
"type": "iPhone 11"
"type": "iPhone 13"
}
},
"ios.sim.release": {
"binaryPath": "example/ios/build/Build/Products/Release-iphonesimulator/ReactTestApp.app",
"build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -workspace example/ios/date-time-picker-example.xcworkspace -sdk iphonesimulator -scheme date-time-picker-example -configuration Release -derivedDataPath example/ios/build -UseModernBuildSystem=YES",
"type": "ios.simulator",
"device": {
"type": "iPhone 11"
"type": "iPhone 13"
}
},
"android.emu.debug": {
Expand Down

0 comments on commit 8909520

Please sign in to comment.