Skip to content

Commit

Permalink
Update CI settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirma committed Sep 23, 2024
1 parent 67c4c2f commit 602f786
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 602f786

Please sign in to comment.