Actions run on macOS 14 Sonoma (#674) #1483
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: push-and-prs-on-main | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Switch to Xcode 15.2 | |
run: sudo xcode-select -s "/Applications/Xcode_15.2.app" | |
- name: Build / Test | |
run: swift build -v | |
- name: Build iOS / macOS | |
run: xcodebuild -verbose -scheme Site -destination "generic/platform=iOS Simulator" -destination "generic/platform=macOS" -destination "generic/platform=tvOS Simulator" |