forked from LoopKit/LoopKit
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to tests for iOS 17 (LoopKit#517)
* Fix tests on xcode15 * Update circleci config * Switch resource class * Remove resource class spec * Build packages * use xcpretty on package building * Add test github action * Fix syntax error * Fix syntax * Fix checkout * Fix indentation * List xcode versions * Update action name * macos-14 not available yet * Try m1 resource class * Try updated xcode * Update sdk as well * Update github workflow to 17.2 * Fix typo * Fix sporadic failure of dosestore tests
- Loading branch information
Showing
7 changed files
with
80 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Test LoopKit Build | ||
on: | ||
push: | ||
jobs: | ||
build-and-test: | ||
runs-on: macos-13 | ||
steps: | ||
- name: Checkout target repo | ||
uses: actions/checkout@v3 | ||
- name: Show available xcode versions | ||
run: "ls -al /Applications/Xcode*" | ||
- name: Select Xcode | ||
run: "sudo xcode-select --switch /Applications/Xcode_15.2.app/Contents/Developer" | ||
- name: Run Tests | ||
run: set -o pipefail && xcodebuild -project LoopKit.xcodeproj -scheme Shared build -destination 'OS=17.2,name=iPhone 15' test | xcpretty | ||
- name: Remove xcode project | ||
run: rm -rf LoopKit.xcodeproj | ||
- name: Build LoopKit Swift Package | ||
run: set -o pipefail && xcodebuild build -scheme LoopKit -sdk iphonesimulator17.2 -destination "OS=17.2,name=iPhone 15" | xcpretty | ||
- name: Build LoopKitUI Swift Package | ||
run: set -o pipefail && xcodebuild build -scheme LoopKitUI -sdk iphonesimulator17.2 -destination "OS=17.2,name=iPhone 15" | xcpretty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters