From 6e2f69f76f87514ee7d96fe5b988463757077d0d Mon Sep 17 00:00:00 2001 From: Bryan Keller Date: Thu, 2 May 2024 13:42:20 -0700 Subject: [PATCH] Fix build --- .github/workflows/swift.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 535f3cf..2d8a476 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -1,4 +1,4 @@ -name: Swift +name: CI on: push: @@ -8,17 +8,14 @@ on: jobs: build: - - runs-on: macos-latest - + runs-on: macos-13 strategy: matrix: - destination: ['platform=iOS Simulator,OS=11.0,name=iPhone 8', 'platform=iOS Simulator,OS=16.2,name=iPhone 14'] - + xcode: + - '15.0' # Swift 5.9 steps: - - uses: actions/checkout@v2 - - name: Build - run: xcodebuild clean build -scheme MagazineLayout - - name: Run tests - run: xcodebuild clean test -project MagazineLayout.xcodeproj -scheme MagazineLayout -destination "name=iPhone 14,OS=16.2" - + - uses: actions/checkout@v4 + - name: Build + run: xcodebuild clean build -scheme MagazineLayout -destination "generic/platform=iOS Simulator" + - name: Run tests + run: xcodebuild clean test -project MagazineLayout.xcodeproj -scheme MagazineLayout -destination "name=iPhone 14,OS=17.2"