Skip to content

Commit

Permalink
Use iPhone 16 simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceylo committed Nov 14, 2024
1 parent c98b10d commit d47fcb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ jobs:
xcode: ~16.0
- name: Build App
run: |
xcodebuild -disableAutomaticPackageResolution -scheme FurAffinity -destination 'platform=iOS Simulator,name=iPhone 15' -configuration Release build
xcodebuild -disableAutomaticPackageResolution -scheme FurAffinity -destination 'platform=iOS Simulator,name=iPhone 16' -configuration Release build
- name: Run Tests
run: |
git_hash=$(git rev-parse --short "$GITHUB_SHA")
qualified_app_name="FurAffinity-${GITHUB_REF_NAME}-${git_hash}"
results_path=$(pwd)/${qualified_app_name}.xcresult
xcodebuild -disableAutomaticPackageResolution -scheme FurAffinity -destination 'platform=iOS Simulator,name=iPhone 15' -resultBundlePath "${results_path}" test
xcodebuild -disableAutomaticPackageResolution -scheme FurAffinity -destination 'platform=iOS Simulator,name=iPhone 16' -resultBundlePath "${results_path}" test
zip -r "${qualified_app_name}.xcresult.zip" "${qualified_app_name}.xcresult"
- name: Upload Tests Results
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit d47fcb6

Please sign in to comment.