|
70 | 70 | - uses: maxim-lobanov/setup-xcode@v1 |
71 | 71 | with: |
72 | 72 | xcode-version: latest-stable # Sometimes a newer version of Xcode is available but isn't yet made default |
73 | | - - name: iPhone 12 Simulator - Build |
| 73 | + - name: Build |
74 | 74 | run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "SwiftASCII-CI" -destination "generic/platform=iOS Simulator,name=Any iOS Device" | xcpretty && exit ${PIPESTATUS[0]} |
75 | | - - name: iPhone 12 Simulator - Unit Tests |
| 75 | + - name: Unit Tests |
76 | 76 | run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "SwiftASCII-CI" -destination "platform=iOS Simulator,name=iPhone 15" | xcpretty && exit ${PIPESTATUS[0]} |
77 | 77 |
|
78 | 78 | tvOS: |
|
83 | 83 | - uses: maxim-lobanov/setup-xcode@v1 |
84 | 84 | with: |
85 | 85 | xcode-version: latest-stable # Sometimes a newer version of Xcode is available but isn't yet made default |
86 | | - - name: Apple TV - Build |
| 86 | + - name: Build |
87 | 87 | run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "SwiftASCII-CI" -destination "generic/platform=tvOS Simulator,name=Any tvOS Simulator Device" | xcpretty && exit ${PIPESTATUS[0]} |
88 | | - - name: Apple TV - Unit Tests |
| 88 | + - name: Unit Tests |
89 | 89 | run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "SwiftASCII-CI" -destination "platform=tvOS Simulator,name=Apple TV 4K (3rd generation)" | xcpretty && exit ${PIPESTATUS[0]} |
90 | 90 |
|
91 | 91 | # NOTES: Xcode 15 seems to have a transient bug where compiling for watchOS Simulator fails, so we have to compile for watchOS Device instead. |
|
98 | 98 | - uses: maxim-lobanov/setup-xcode@v1 |
99 | 99 | with: |
100 | 100 | xcode-version: latest-stable # Sometimes a newer version of Xcode is available but isn't yet made default |
101 | | - - name: Apple Watch - Build |
| 101 | + - name: Build |
102 | 102 | run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "SwiftASCII-CI" -destination "generic/platform=watchOS,name=Any watchOS Device" | xcpretty && exit ${PIPESTATUS[0]} |
103 | | - - name: Apple Watch - Unit Tests |
| 103 | + - name: Unit Tests |
104 | 104 | run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "SwiftASCII-CI" -destination "platform=watchOS Simulator,name=Apple Watch Series 10 (46mm)" | xcpretty && exit ${PIPESTATUS[0]} |
105 | 105 |
|
106 | 106 |
|
|
0 commit comments