-
Notifications
You must be signed in to change notification settings - Fork 361
65 lines (60 loc) · 1.29 KB
/
ci.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
name: CI
on:
push:
branches:
- master
- 'releases/*'
pull_request:
branches:
- master
env:
# Use Xcode 15.2 or newer to support VisionOS
DEVELOPER_DIR: /Applications/Xcode_15.2.app
jobs:
test:
name: Test
runs-on: macos-latest
strategy:
matrix:
platform: ['iOS Simulator,name=iPhone 15']
steps:
- uses: actions/checkout@v2
- name: Test
run: make test
analyze:
name: Analyze
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: analyze
run: make analyze
cocoapods:
name: CocoaPods
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Lint
run: make cocoapods
carthage:
name: Carthage
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: carthage
run: make carthage
swift-package-manager:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Verify that PINCache can be built by SPM
run: make spm
xcode-spm-integration:
name: Build iOS example project
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check Xcode's spm integration
run: make example