File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 1- # This workflow will build a Swift project
2- # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
3-
41name : Swift
52
63on :
118
129jobs :
1310 build :
14- name : Build and Test on ${{ matrix.swift }}
15- runs-on : macos-latest
11+ # Run build and tests for each Swift version and OS combination
12+ name : Build and Test on ${{ matrix.swift }} / ${{ matrix.os }}
13+ runs-on : ${{ matrix.os }}
1614
1715 strategy :
1816 matrix :
19- swift : [5.10, 6.0]
17+ os :
18+ - macos-13 # x86_64 (Intel)
19+ - macos-latest # arm64 (Apple Silicon)
20+ swift :
21+ - 5.10 # Xcode 15.3
22+ - 6.0 # Xcode 16
2023
2124 steps :
2225 - uses : actions/checkout@v4
2528 run : |
2629 case "${{ matrix.swift }}" in
2730 5.10) sudo xcode-select -s /Applications/Xcode_15.3.app ;;
28- 6.0) sudo xcode-select -s /Applications/Xcode_16.0.app ;;
31+ 6.0) sudo xcode-select -s /Applications/Xcode_16.0.app ;;
2932 esac
33+
34+ # Print selected Xcode version for confirmation
3035 xcodebuild -version
3136
3237 - name : Build
You can’t perform that action at this time.
0 commit comments