use swift 6 in CI #40
Workflow file for this run
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: xcodebuild | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/xcodebuild.yml' | |
- 'Examples/**/*.swift' | |
- 'Package*' | |
- 'Sources/**/*.swift' | |
- 'Tests/**/*.swift' | |
pull_request: | |
paths: | |
- '.github/workflows/xcodebuild.yml' | |
- 'Examples/**/*.swift' | |
- 'Package*' | |
- 'Sources/**/*.swift' | |
- 'Tests/**/*.swift' | |
workflow_dispatch: ~ | |
concurrency: | |
group: xcodebuild-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
xcodebuild: | |
runs-on: macos-14 | |
strategy: | |
matrix: | |
xcode: | |
- '15.4' | |
destination: | |
- 'platform=macOS' | |
- 'platform=iOS Simulator,name=iPhone 15 Pro Max' | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer | |
steps: | |
- uses: actions/checkout@v4 | |
- run: xcodebuild -version | |
- name: Build with Xcode | |
run: |- | |
set -o pipefail | |
xcodebuild test \ | |
-scheme AppStoreConnect-Package \ | |
-destination "${{ matrix.destination }}" \ | |
| xcbeautify --renderer github-actions |