aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBen <31181527+benedom@users.noreply.github.com>2023-10-19 15:14:40 +0200
committerGitHub <noreply@github.com>2023-10-19 15:14:40 +0200
commit8898145c52ce32ce6ef5f160994ede103d0b2ed6 (patch)
tree943904c568256d652ff36c96f72aafdfe9058198 /.github
parentb11707d26124584855ca0ad9bcb698d6d5e435f0 (diff)
Update swift.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/swift.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml
index b7076e5..f5ae689 100644
--- a/.github/workflows/swift.yml
+++ b/.github/workflows/swift.yml
@@ -11,6 +11,12 @@ on:
jobs:
build:
+ strategy:
+ matrix:
+ platform:
+ - iOS
+ xcode:
+ - ^15
runs-on: macos-latest
@@ -19,5 +25,7 @@ jobs:
- uses: swift-actions/setup-swift@v1
- name: Get swift version
run: swift --version
- - name: Build and test
- run: xcodebuild test -scheme SwiftyCrop -destination 'platform=iOS Simulator,name=iPhone 15,OS=latest'
+ - uses: mxcl/xcodebuild@v1
+ with:
+ xcode: ${{ matrix.xcode }}
+ platform: ${{ matrix.platform }}