-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 1.2 KB
/
build.yml
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
37
38
39
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Lint Pod
run: pod lib lint
- name: Carthage Build XCFrameworks
run: carthage build --use-xcframeworks --no-skip-current
- name: Build iOS Example - iOS Simulator
run: |
xcodebuild clean build -scheme "iOS Example" \
-destination "platform=iOS Simulator,OS=latest,name=iPhone 11" \
-configuration Release CODE_SIGN_IDENTITY=- | xcpretty
- name: Build iOS Example - Mac Catalyst
run: |
xcodebuild clean build -scheme "iOS Example" \
-destination "platform=macOS,arch=x86_64,variant=Mac Catalyst" \
-configuration Release CODE_SIGN_IDENTITY=- | xcpretty
- name: Build tvOS Example
run: |
xcodebuild clean build -scheme "tvOS Example" \
-sdk appletvsimulator \
-configuration Release CODE_SIGN_IDENTITY=- | xcpretty
- name: Build macOS Example
run: |
xcodebuild clean build -scheme "macOS Example" \
-sdk macosx \
-configuration Release CODE_SIGN_IDENTITY=- | xcpretty