aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-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 }}