-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
71 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,77 +34,78 @@ jobs: | |
run: | | ||
sudo xcode-select -switch /Applications/Xcode_15.4.app | ||
- name: iOS Build | ||
run: | | ||
xcodebuild \ | ||
-project AnalyticsConnector.xcodeproj \ | ||
-scheme AnalyticsConnector \ | ||
-sdk iphonesimulator \ | ||
-destination 'platform=iOS Simulator,name=iPhone 12,OS=15.5' | ||
- name: macOS Build | ||
run: | | ||
xcodebuild \ | ||
-project AnalyticsConnector.xcodeproj \ | ||
-scheme AnalyticsConnector \ | ||
-sdk macosx \ | ||
-destination 'platform=macosx' \ | ||
- name: tvOS Build | ||
run: | | ||
xcodebuild \ | ||
-project AnalyticsConnector.xcodeproj \ | ||
-scheme AnalyticsConnector \ | ||
-sdk appletvsimulator \ | ||
-destination 'platform=tvOS Simulator,name=Apple TV' \ | ||
- name: xrOS Build | ||
run: | | ||
xcodebuild \ | ||
-project AnalyticsConnector.xcodeproj \ | ||
-scheme AnalyticsConnector \ | ||
-sdk xrsimulator \ | ||
-destination 'platform=visionOS Simulator,name=Apple Vision Pro' \ | ||
- name: iOS Tests | ||
run: | | ||
xcodebuild test \ | ||
-project AnalyticsConnector.xcodeproj \ | ||
-scheme AnalyticsConnector \ | ||
-sdk iphonesimulator \ | ||
-destination 'platform=iOS Simulator,name=iPhone 12,OS=15.5' | ||
- name: macOS Tests | ||
run: | | ||
xcodebuild \ | ||
-project AnalyticsConnector.xcodeproj \ | ||
-scheme AnalyticsConnector \ | ||
-sdk macosx \ | ||
-destination 'platform=macosx' \ | ||
test | ||
- name: tvOS Tests | ||
run: | | ||
xcodebuild \ | ||
-project AnalyticsConnector.xcodeproj \ | ||
-scheme AnalyticsConnector \ | ||
-sdk appletvsimulator \ | ||
-destination 'platform=tvOS Simulator,name=Apple TV' \ | ||
test | ||
- name: visionOS Tests | ||
run: | | ||
xcodebuild \ | ||
-project AnalyticsConnector.xcodeproj \ | ||
-scheme AnalyticsConnector \ | ||
-sdk xrsimulator \ | ||
-destination 'platform=visionOS Simulator,name=Apple Vision Pro' \ | ||
test | ||
# - name: iOS Build | ||
# run: | | ||
# xcodebuild \ | ||
# -project AnalyticsConnector.xcodeproj \ | ||
# -scheme AnalyticsConnector \ | ||
# -sdk iphonesimulator \ | ||
# -destination 'platform=iOS Simulator,name=iPhone 12,OS=15.5' | ||
|
||
# - name: macOS Build | ||
# run: | | ||
# xcodebuild \ | ||
# -project AnalyticsConnector.xcodeproj \ | ||
# -scheme AnalyticsConnector \ | ||
# -sdk macosx \ | ||
# -destination 'platform=macosx' \ | ||
|
||
# - name: tvOS Build | ||
# run: | | ||
# xcodebuild \ | ||
# -project AnalyticsConnector.xcodeproj \ | ||
# -scheme AnalyticsConnector \ | ||
# -sdk appletvsimulator \ | ||
# -destination 'platform=tvOS Simulator,name=Apple TV' \ | ||
|
||
# - name: xrOS Build | ||
# run: | | ||
# xcodebuild \ | ||
# -project AnalyticsConnector.xcodeproj \ | ||
# -scheme AnalyticsConnector \ | ||
# -sdk xrsimulator \ | ||
# -destination 'platform=visionOS Simulator,name=Apple Vision Pro' \ | ||
|
||
# - name: iOS Tests | ||
# run: | | ||
# xcodebuild test \ | ||
# -project AnalyticsConnector.xcodeproj \ | ||
# -scheme AnalyticsConnector \ | ||
# -sdk iphonesimulator \ | ||
# -destination 'platform=iOS Simulator,name=iPhone 12,OS=15.5' | ||
|
||
# - name: macOS Tests | ||
# run: | | ||
# xcodebuild \ | ||
# -project AnalyticsConnector.xcodeproj \ | ||
# -scheme AnalyticsConnector \ | ||
# -sdk macosx \ | ||
# -destination 'platform=macosx' \ | ||
# test | ||
|
||
# - name: tvOS Tests | ||
# run: | | ||
# xcodebuild \ | ||
# -project AnalyticsConnector.xcodeproj \ | ||
# -scheme AnalyticsConnector \ | ||
# -sdk appletvsimulator \ | ||
# -destination 'platform=tvOS Simulator,name=Apple TV' \ | ||
# test | ||
|
||
# - name: visionOS Tests | ||
# run: | | ||
# xcodebuild \ | ||
# -project AnalyticsConnector.xcodeproj \ | ||
# -scheme AnalyticsConnector \ | ||
# -sdk xrsimulator \ | ||
# -destination 'platform=visionOS Simulator,name=Apple Vision Pro' \ | ||
# test | ||
|
||
- name: Show Installed Simulators | ||
run: xcrun simctl list | ||
|
||
- name: Setup Cocoapods | ||
uses: maxim-lobanov/[email protected] | ||
with: | ||
version: latest | ||
- name: Validate Podfile | ||
run: pod --version | ||
|
||
- name: Validate Podfile | ||
run: pod lib lint --allow-warnings | ||
|