-
Notifications
You must be signed in to change notification settings - Fork 76
83 lines (76 loc) · 1.9 KB
/
main.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-package:
runs-on: macos-latest
strategy:
matrix:
xcode:
- '13.2.1' # Swift 5.5 (lowest)
- '14.0.1' # Swift 5.7 (highest)
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Build Package
run: bundle exec rake build:package
build-epoxy-core:
runs-on: macos-latest
strategy:
matrix:
xcode:
- '14.0.1' # Swift 5.7 (highest)
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Build EpoxyCore
run: bundle exec rake build:EpoxyCore
build-example:
runs-on: macos-latest
strategy:
matrix:
xcode:
- '13.2.1' # Swift 5.5 (lowest)
- '14.0.1' # Swift 5.7 (highest)
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Build Example
run: bundle exec rake build:example
test-package:
runs-on: macos-latest
strategy:
matrix:
xcode:
- '13.2.1' # Swift 5.5 (lowest)
- '14.0.1' # Swift 5.7 (highest)
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Test Package
run: bundle exec rake test:package
lint-swift:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- name: Lint Swift
run: bundle exec rake lint:swift
lint-podspec:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- name: Lint Podspec
run: bundle exec rake lint:podspec