-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improper way of handling customContext (#239)
* fix: improper way of handling customContext * ci: delete .github folder * Revert "ci: delete .github folder" This reverts commit 45fdd50. * ci: set XCode v13 for build and quality check in v2 SDK
- Loading branch information
1 parent
4bcaf61
commit 7a91754
Showing
3 changed files
with
18 additions
and
14 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 |
---|---|---|
@@ -1,39 +1,42 @@ | ||
name: Code Quality Checks(v2) | ||
on: | ||
pull_request: | ||
branches: ['master-v2', 'develop-v2'] | ||
types: ['opened', 'reopened', 'synchronize'] | ||
branches: ["master-v2", "develop-v2"] | ||
types: ["opened", "reopened", "synchronize"] | ||
|
||
jobs: | ||
build: | ||
name: Code Quality Checks(v2) | ||
runs-on: macOS-latest | ||
|
||
steps: | ||
- name: Checkout source branch | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install xcpretty | ||
run: gem install xcpretty | ||
|
||
- name: Select Xcode version | ||
run: sudo xcode-select -s '/Applications/Xcode_13.2.1.app/Contents/Developer' | ||
|
||
- name: Build SDK(iOS) | ||
run: | | ||
xcodebuild build -scheme RudderSDK-iOS -workspace Rudder.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 13' | xcpretty | ||
- name: Build SDK(watchOS) | ||
run: | | ||
xcodebuild build -scheme RudderSDK-iOS -workspace Rudder.xcworkspace -destination 'platform=watchOS Simulator,name=Apple Watch Series 7 - 45mm' | xcpretty | ||
- name: Build SDK(tvOS) | ||
run: | | ||
xcodebuild build -scheme RudderSDK-iOS -workspace Rudder.xcworkspace -destination 'platform=tvOS Simulator,name=Apple TV' | xcpretty | ||
- name: Build SDK(macOS) | ||
run: | | ||
xcodebuild build -scheme RudderSDK-iOS -workspace Rudder.xcworkspace -destination 'platform=macOS,variant=Mac Catalyst' | xcpretty | ||
- name: Install Cocoapods | ||
run: gem install cocoapods | ||
|
||
- name: Execute pod lint | ||
run: pod lib lint --no-clean --allow-warnings |
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