Skip to content

Commit

Permalink
feat: paramaterize xcode version for rn-ios job
Browse files Browse the repository at this point in the history
  • Loading branch information
iartemiev committed May 31, 2022
1 parent 2437e2e commit 9cb4a1c
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/orbs/getting-started-smoke-test/orb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ executors:

mac-executor:
macos:
# TODO: use param for this
xcode: 13.3.1
xcode: 13.4.0
resource_class: large

android-executor:
Expand Down Expand Up @@ -71,7 +70,6 @@ commands:
name: Adding Amplify code
command: mv canaries/dummy_amplifyconfiguration.dart canaries/amplifyconfiguration.dart && cp canaries/amplifyconfiguration.dart amplified_todo/lib && cp canaries/main.dart amplified_todo/lib && cp -r canaries/integration_test amplified_todo/integration_test


jobs:
web:
description: 'Test Getting Started Flow for Web'
Expand Down Expand Up @@ -138,7 +136,12 @@ jobs:
tag:
type: string
default: latest
executor: mac-executor
xcode-version:
type: string
default: 13.4.0
macos:
xcode: << parameters.xcode-version >>
resource_class: large
working_directory: ~/amplify_getting_started_<< parameters.framework >>
steps:
- run:
Expand Down Expand Up @@ -268,7 +271,7 @@ jobs:
- checkout
- macos/preboot-simulator:
device: iPhone 13
version: "15.4"
version: '15.4'
- install-flutter
- run:
name: Setting up project
Expand All @@ -291,7 +294,7 @@ jobs:
default: iPhone 13
simulator-os-version:
type: string
default: "15.4"
default: '15.4'
working_directory: ~/ios-canaries/canaries/example
macos:
xcode: <<parameters.xcode-version>>
Expand Down Expand Up @@ -330,4 +333,4 @@ jobs:
system-image: system-images;android-29;default;x86
- android/start-emulator:
avd-name: myavd
- android/run-tests
- android/run-tests

0 comments on commit 9cb4a1c

Please sign in to comment.