Skip to content

Commit

Permalink
Update build-ios.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
loay-ashraf committed Aug 24, 2023
1 parent 587ec40 commit 5ee2fb4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
destination: ['platform=iOS Simulator,OS=14.0,name=iPhone 12 Pro Max']
destination: ['platform=iOS Simulator,OS=15.0,name=iPhone 13 Pro Max']
destination: ['platform=iOS Simulator,OS=16.0,name=iPhone 14 Pro Max']
destination: ['platform=macOS,name=My Mac']
destination: ['platform=iOS Simulator,OS=14.0,name=iPhone 12 Pro Max', ]
platform: ['iOS Simulator']
OS: [14.0, 15.0, 16.0]
# destination: ['platform=iOS Simulator,OS=15.0,name=iPhone 13 Pro Max']
# destination: ['platform=iOS Simulator,OS=16.0,name=iPhone 14 Pro Max']
# destination: ['platform=macOS,name=My Mac']

steps:
- name: Checkout
Expand All @@ -31,6 +33,8 @@ jobs:
- name: Build
env:
scheme: ${{ 'default' }}
platform: ${{ matrix.platform }}
OS: ${{ matrix.OS }}
run: |
if [ $scheme = default ]; then scheme=$(cat default); fi
if [ "`ls -A | grep -i \\.xcworkspace\$`" ]; then filetype_parameter="workspace" && file_to_build="`ls -A | grep -i \\.xcworkspace\$`"; else filetype_parameter="project" && file_to_build="`ls -A | grep -i \\.xcodeproj\$`"; fi
Expand Down

0 comments on commit 5ee2fb4

Please sign in to comment.