[SDK-3926] Backport #1823 to fix/socketrocket-fix
#1080
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
name: Check Pod | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
check: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v2 | |
# Run the steps we document in the Release Process. | |
# unzip commands included as proof-of-life for the Carthage output. | |
- name: Print Ruby version | |
run: ruby --version | |
- name: Print Carthage version | |
run: 'echo -n "carthage version: " && carthage version' | |
- name: Print CocoaPods version | |
run: 'echo -n "pod version: " && pod --version --verbose' | |
- name: Print Make version | |
run: make --version | |
- name: Build Carthage dependencies | |
run: make update | |
- name: Build Ably framework | |
run: make carthage_package | |
- name: Print contents of generated ZIP file | |
run: | | |
unzip -l Ably.framework.zip | |
unzip -l Ably.framework.zip | grep 'Mac/Ably.framework' | |
unzip -l Ably.framework.zip | grep 'tvOS/Ably.framework' | |
unzip -l Ably.framework.zip | grep 'iOS/Ably.framework' | |
- name: Validate pod | |
run: pod lib lint |