Skip to content

Commit

Permalink
change simulators os version
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentneo committed Aug 9, 2022
1 parent 57c8dc2 commit 086b779
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/swift.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build CoreGPX iOS
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Example/CoreGPX.xcworkspace" -scheme "CoreGPX" -destination "OS=14.3,name=iPhone 12 Pro" clean build | xcpretty
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Example/CoreGPX.xcworkspace" -scheme "CoreGPX" -destination "OS=15.5,name=iPhone 12 Pro" clean build | xcpretty

macOS:
name: macOS Build
Expand All @@ -37,15 +37,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build CoreGPX watchOS
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Example/CoreGPX.xcworkspace" -scheme "CoreGPX-watchOS" -destination "OS=7.2,name=Apple Watch Series 6 - 44mm" clean build | xcpretty
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Example/CoreGPX.xcworkspace" -scheme "CoreGPX-watchOS" -destination "OS=8.5,name=Apple Watch Series 6 - 44mm" clean build | xcpretty

example:
name: Build Example & Test
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: Build Example App
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Example/CoreGPX.xcworkspace" -scheme "CoreGPX-Example" -destination "OS=14.3,name=iPhone 12 Pro" clean build | xcpretty
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Example/CoreGPX.xcworkspace" -scheme "CoreGPX-Example" -destination "OS=15.5,name=iPhone 12 Pro" clean build | xcpretty
- name: Run test cases
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Example/CoreGPX.xcworkspace" -scheme "CoreGPX Tests" -destination "OS=14.3,name=iPhone 12 Pro" test | xcpretty
run: set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace "Example/CoreGPX.xcworkspace" -scheme "CoreGPX Tests" -destination "OS=15.5,name=iPhone 12 Pro" test | xcpretty

0 comments on commit 086b779

Please sign in to comment.