From 9b167f48c32fa1d42cdca687886aca0487557ebf Mon Sep 17 00:00:00 2001 From: Nicko Maccharoli Date: Mon, 23 Sep 2024 22:17:57 +0900 Subject: [PATCH] Update CI settings --- .github/workflows/swift.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 4b145e9..223a002 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -1,16 +1,17 @@ name: Swift CI +run-name: Build smoke test by ${{ github.actor }} on: [push, pull_request] jobs: test: name: Test UIDeviceComplete - runs-on: macos-latest + runs-on: macos-14 env: - DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer + DEVELOPER_DIR: /Applications/Xcode_16.app steps: - uses: actions/checkout@v2 - name: Test (iOS) - run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "UIDeviceComplete.xcodeproj" -scheme "UIDeviceComplete" -destination "OS=16.0,name=iPhone 14 Pro" clean test | xcpretty + run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "UIDeviceComplete.xcodeproj" -scheme "UIDeviceComplete" -destination "OS=18.0,name=iPhone 15 Pro Max" clean test | xcpretty - name: Test (watchOS) - run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "UIDeviceComplete.xcodeproj" -scheme "UIDeviceComplete" -destination "OS=9.0,name=Apple Watch Series 8 (45mm)" clean test | xcpretty + run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -project "UIDeviceComplete.xcodeproj" -scheme "UIDeviceComplete" -destination "OS=10.4,name=Apple Watch Series 8 (45mm)" clean test | xcpretty