|
37 | 37 | with: |
38 | 38 | xcode-version: latest-stable |
39 | 39 | - name: Build |
40 | | - run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=macOS,name=Any Mac" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 40 | + run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=macOS" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
41 | 41 | - name: Unit Tests |
42 | 42 | run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "platform=macOS" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
43 | 43 |
|
|
52 | 52 | - name: Set Package to Swift 6.0 |
53 | 53 | run: swift package tools-version --set "6.0" |
54 | 54 | - name: Build |
55 | | - run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=macOS,name=Any Mac" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 55 | + run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=macOS" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
56 | 56 | - name: Unit Tests |
57 | 57 | run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "platform=macOS" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
58 | 58 |
|
|
65 | 65 | with: |
66 | 66 | xcode-version: latest-stable |
67 | 67 | - name: Build |
68 | | - run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=macOS,variant=Mac Catalyst,name=Any Mac" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 68 | + run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=macOS,variant=Mac Catalyst" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
69 | 69 | - name: Unit Tests |
70 | 70 | run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "platform=macOS,variant=Mac Catalyst" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
71 | 71 |
|
|
77 | 77 | - uses: maxim-lobanov/setup-xcode@v1 |
78 | 78 | with: |
79 | 79 | xcode-version: latest-stable |
| 80 | + - name: Prepare Platform |
| 81 | + run: xcodebuild -downloadPlatform iOS |
80 | 82 | - name: Build |
81 | | - run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=iOS Simulator,name=Any iOS Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 83 | + run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=iOS" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
82 | 84 | - name: Prepare Destination Device Name |
83 | 85 | id: destnameprep |
84 | 86 | # As of GitHub's updates to the macOS-15 runner summer 2025, randomly Xcode may not list any simulators. |
@@ -113,8 +115,10 @@ jobs: |
113 | 115 | - uses: maxim-lobanov/setup-xcode@v1 |
114 | 116 | with: |
115 | 117 | xcode-version: latest-stable |
| 118 | + - name: Prepare Platform |
| 119 | + run: xcodebuild -downloadPlatform tvOS |
116 | 120 | - name: Build |
117 | | - run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=tvOS Simulator,name=Any tvOS Simulator Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 121 | + run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=tvOS" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
118 | 122 | - name: Prepare Destination Device Name |
119 | 123 | id: destnameprep |
120 | 124 | # As of GitHub's updates to the macOS-15 runner summer 2025, randomly Xcode may not list any simulators. |
@@ -149,8 +153,10 @@ jobs: |
149 | 153 | - uses: maxim-lobanov/setup-xcode@v1 |
150 | 154 | with: |
151 | 155 | xcode-version: latest-stable |
| 156 | + - name: Prepare Platform |
| 157 | + run: xcodebuild -downloadPlatform watchOS |
152 | 158 | - name: Build |
153 | | - run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=watchOS Simulator,name=Any watchOS Simulator Device" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
| 159 | + run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "$SCHEME" -destination "generic/platform=watchOS" | xcbeautify --renderer github-actions && exit ${PIPESTATUS[0]} |
154 | 160 | - name: Prepare Destination Device Name |
155 | 161 | id: destnameprep |
156 | 162 | # As of GitHub's updates to the macOS-15 runner summer 2025, randomly Xcode may not list any simulators. |
|
0 commit comments