-
Notifications
You must be signed in to change notification settings - Fork 41
55 lines (53 loc) · 1.89 KB
/
ci.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
xcode-build:
name: Xcode Build
runs-on: macOS-12
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Bundle Install
run: bundle install
- name: Select Xcode Version
run: sudo xcode-select --switch /Applications/Xcode_13.1.app/Contents/Developer
- name: Build and Test Frameworks
run: |
xcodebuild \
-project Aardvark.xcodeproj \
-scheme "All Frameworks" \
-sdk iphonesimulator \
-destination "platform=iOS Simulator,name=iPhone 13 Pro" \
test
- name: Build Sample App
run: |
xcodebuild \
-project AardvarkSample/AardvarkSample.xcodeproj \
-scheme AardvarkSample \
-sdk iphonesimulator \
-configuration Debug \
-PBXBuildsContinueAfterErrors=0 \
ACTIVE_ARCH_ONLY=0 \
build
pod-lint:
name: Pod Lint
runs-on: macOS-11
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Bundle Install
run: bundle install
- name: Select Xcode Version
run: sudo xcode-select --switch /Applications/Xcode_13.1.app/Contents/Developer
- name: Lint CoreAardvark Podspec
run: bundle exec pod lib lint --verbose --fail-fast CoreAardvark.podspec
- name: Lint Aardvark Podspec
run: bundle exec pod lib lint --verbose --fail-fast Aardvark.podspec --include-podspecs=CoreAardvark.podspec
- name: Lint AardvarkLoggingUI Podspec
run: bundle exec pod lib lint --verbose --fail-fast AardvarkLoggingUI.podspec --include-podspecs=CoreAardvark.podspec
- name: Lint AardvarkMailUI Podspec
run: bundle exec pod lib lint --verbose --fail-fast AardvarkMailUI.podspec --include-podspecs="{CoreAardvark,Aardvark}.podspec"