forked from Quick/Quick
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (50 loc) · 1.24 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
name: CI
on:
push:
branches:
- master
tags:
- "*"
pull_request:
jobs:
cocoapods:
name: CocoaPods Lint & Danger
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: bundle install
- run: bundle exec danger
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: rake podspec:lint
xcode:
name: Xcode ${{ matrix.xcode }} (${{ matrix.platform }})
runs-on: macos-latest
strategy:
matrix:
xcode: [11.7, 12]
platform: ["macos", "ios", "tvos"]
fail-fast: false
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
- uses: actions/checkout@v2
with:
submodules: true
- run: rake test:${{ matrix.platform }}
- if: ${{ matrix.platform == 'macos' }}
run: rake test:${{ matrix.platform }}_static
swiftpm_darwin:
name: SwiftPM, Darwin, Xcode ${{ matrix.xcode }}
runs-on: macos-latest
strategy:
matrix:
xcode: [11.7, 12]
fail-fast: false
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
- uses: actions/checkout@v2
- run: rake test:swiftpm