diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 810f219..1c04e3b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,9 +57,9 @@ jobs: - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: latest-stable # Sometimes a newer version of Xcode is available but isn't yet made default - - name: iPhone 12 Simulator - Build + - name: Build run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "OTOperations-CI" -destination "generic/platform=iOS Simulator,name=Any iOS Device" | xcpretty && exit ${PIPESTATUS[0]} - - name: iPhone 12 Simulator - Unit Tests + - name: Unit Tests run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "OTOperations-CI" -destination "platform=iOS Simulator,name=iPhone 15" | xcpretty && exit ${PIPESTATUS[0]} tvOS: @@ -70,9 +70,9 @@ jobs: - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: latest-stable # Sometimes a newer version of Xcode is available but isn't yet made default - - name: Apple TV - Build + - name: Build run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "OTOperations-CI" -destination "generic/platform=tvOS Simulator,name=Any tvOS Simulator Device" | xcpretty && exit ${PIPESTATUS[0]} - - name: Apple TV - Unit Tests + - name: Unit Tests run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "OTOperations-CI" -destination "platform=tvOS Simulator,name=Apple TV 4K (3rd generation)" | xcpretty && exit ${PIPESTATUS[0]} watchOS: @@ -83,9 +83,9 @@ jobs: - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: latest-stable # Sometimes a newer version of Xcode is available but isn't yet made default - - name: Apple Watch - Build + - name: Build run: xcodebuild build -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "OTOperations-CI" -destination "generic/platform=watchOS Simulator,name=Any watchOS Simulator Device" | xcpretty && exit ${PIPESTATUS[0]} - - name: Apple Watch - Unit Tests + - name: Unit Tests run: xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "OTOperations-CI" -destination "platform=watchOS Simulator,name=Apple Watch Series 10 (46mm)" | xcpretty && exit ${PIPESTATUS[0]} # xcodebuild test reference: