Skip to content

Commit

Permalink
ci: Fix failing macOS-SwiftUI build (#4540)
Browse files Browse the repository at this point in the history
Use macos-15 for Xcode 16, cause Xcode 16 is not available on macos-14.
  • Loading branch information
philipphofmann authored Nov 15, 2024
1 parent f8eb5a7 commit 37fd7a2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,25 @@ jobs:

build-sample:
name: Sample ${{ matrix.scheme }}
runs-on: macos-14
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
# other sample projects are built in ui-tests
include:
- scheme: macOS-Swift
xcode: 15.4
runs-on: macos-14
- scheme: iOS13-Swift
xcode: 15.4
runs-on: macos-14
- scheme: watchOS-Swift WatchKit App
xcode: 15.4
runs-on: macos-14
# Only compiles on Xcode 16.0
- scheme: macOS-SwiftUI
xcode: 16.0

runs-on: macos-15
steps:
- uses: actions/checkout@v4
- run: ./scripts/ci-select-xcode.sh ${{ matrix.xcode }}
Expand Down

0 comments on commit 37fd7a2

Please sign in to comment.