Skip to content

Commit 9cb4a1c

Browse files
committed
feat: paramaterize xcode version for rn-ios job
1 parent 2437e2e commit 9cb4a1c

File tree

1 file changed

+10
-7
lines changed
  • src/orbs/getting-started-smoke-test

1 file changed

+10
-7
lines changed

src/orbs/getting-started-smoke-test/orb.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ executors:
2020

2121
mac-executor:
2222
macos:
23-
# TODO: use param for this
24-
xcode: 13.3.1
23+
xcode: 13.4.0
2524
resource_class: large
2625

2726
android-executor:
@@ -71,7 +70,6 @@ commands:
7170
name: Adding Amplify code
7271
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
7372

74-
7573
jobs:
7674
web:
7775
description: 'Test Getting Started Flow for Web'
@@ -138,7 +136,12 @@ jobs:
138136
tag:
139137
type: string
140138
default: latest
141-
executor: mac-executor
139+
xcode-version:
140+
type: string
141+
default: 13.4.0
142+
macos:
143+
xcode: << parameters.xcode-version >>
144+
resource_class: large
142145
working_directory: ~/amplify_getting_started_<< parameters.framework >>
143146
steps:
144147
- run:
@@ -268,7 +271,7 @@ jobs:
268271
- checkout
269272
- macos/preboot-simulator:
270273
device: iPhone 13
271-
version: "15.4"
274+
version: '15.4'
272275
- install-flutter
273276
- run:
274277
name: Setting up project
@@ -291,7 +294,7 @@ jobs:
291294
default: iPhone 13
292295
simulator-os-version:
293296
type: string
294-
default: "15.4"
297+
default: '15.4'
295298
working_directory: ~/ios-canaries/canaries/example
296299
macos:
297300
xcode: <<parameters.xcode-version>>
@@ -330,4 +333,4 @@ jobs:
330333
system-image: system-images;android-29;default;x86
331334
- android/start-emulator:
332335
avd-name: myavd
333-
- android/run-tests
336+
- android/run-tests

0 commit comments

Comments
 (0)