@@ -9,12 +9,12 @@ version: 2.1
99# See: https://circleci.com/docs/jobs-steps/#jobs-overview & https://circleci.com/docs/configuration-reference/#jobs
1010jobs :
1111 build :
12- # Specify the execution environment.
12+ # Specify the execution environment.
1313 # See: https://circleci.com/docs/executor-intro/ & https://circleci.com/docs/configuration-reference/#executor-job
1414 macos :
1515 # Specify the Xcode version you desire here
1616 # See: https://circleci.com/docs/using-macos/
17- xcode : 15.2.0
17+ xcode : 15.2.0
1818
1919 # Add steps to the job
2020 # See: https://circleci.com/docs/jobs-steps/#steps-overview & https://circleci.com/docs/configuration-reference/#steps
@@ -25,26 +25,25 @@ jobs:
2525 - run :
2626 name : Node Version
2727 command : |
28- nvm install v19.0 .0 && nvm alias default 19.0 .0
28+ nvm install v20.2 .0 && nvm alias default 20.2 .0
2929 - run :
3030 name : Install Appium and Run iOS Test
3131 command : |
3232 release_info=$(curl -s https://api.github.com/repos/AppiumTestDistribution/appium-flutter-server/releases/latest)
3333 asset_urls=$(echo "$release_info" | grep "browser_download_url" | cut -d '"' -f 4)
3434 ios_app=$(echo "$asset_urls" | tail -n 1)
3535 echo "$ios_app"
36- nvm install v19.0 .0 && nvm alias default 19.0 .0
36+ nvm install v20.2 .0 && nvm alias default 20.2 .0
3737 node -v
3838 target_sim_id=$(xcrun simctl list devices available | grep "iPhone 14" | cut -d "(" -f2 | cut -d ")" -f1 | head -n 1)
3939 echo $target_sim_id
4040 echo 'export UDID=$target_sim_id' >> $BASH_ENV
4141 xcrun simctl boot $target_sim_id
4242 xcrun simctl bootstatus $target_sim_id -b
4343 npm install -g appium
44- appium driver install xcuitest
45- appium driver run xcuitest build-wda
46- npm install
44+ npm ci
4745 npm run build
46+ appium driver run xcuitest build-wda
4847 wda=$(ls -d /Users/distiller/Library/Developer/Xcode/DerivedData/WebDriverAgent*)
4948 echo $wda
5049 echo 'export WDA_PATH=$wda' >> $BASH_ENV
6665# Orchestrate jobs using workflows
6766# See: https://circleci.com/docs/workflows/ & https://circleci.com/docs/configuration-reference/#workflows
6867workflows :
69- sample : # This is the name of the workflow, feel free to change it to better match your workflow.
68+ ios : # This is the name of the workflow, feel free to change it to better match your workflow.
7069 # Inside the workflow, you define the jobs you want to run.
7170 jobs :
72- - build
71+ - build
0 commit comments