-
Notifications
You must be signed in to change notification settings - Fork 25
36 lines (33 loc) · 1.08 KB
/
check-pod.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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