-
Notifications
You must be signed in to change notification settings - Fork 265
174 lines (154 loc) · 4.92 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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
name: CI
on: [pull_request]
env:
BUNDLE_PATH: vendor/bundle
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
run-tests-core:
runs-on: macos-14-xlarge
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install yeetd
run: |
wget https://github.com/biscuitehh/yeetd/releases/download/1.0/yeetd-normal.pkg
sudo installer -pkg yeetd-normal.pkg -target /
yeetd &
- name: Test
run: make test-core
run-tests-message-center:
runs-on: macos-14-xlarge
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install yeetd
run: |
wget https://github.com/biscuitehh/yeetd/releases/download/1.0/yeetd-normal.pkg
sudo installer -pkg yeetd-normal.pkg -target /
yeetd &
- name: Test
run: make test-message-center
run-tests-preference-center:
runs-on: macos-14-xlarge
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install yeetd
run: |
wget https://github.com/biscuitehh/yeetd/releases/download/1.0/yeetd-normal.pkg
sudo installer -pkg yeetd-normal.pkg -target /
yeetd &
- name: Test
run: make test-preference-center
run-tests-feature-flags:
runs-on: macos-14-xlarge
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install yeetd
run: |
wget https://github.com/biscuitehh/yeetd/releases/download/1.0/yeetd-normal.pkg
sudo installer -pkg yeetd-normal.pkg -target /
yeetd &
- name: Test
run: make test-feature-flags
run-tests-automation:
runs-on: macos-14-xlarge
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install yeetd
run: |
wget https://github.com/biscuitehh/yeetd/releases/download/1.0/yeetd-normal.pkg
sudo installer -pkg yeetd-normal.pkg -target /
yeetd &
- name: Test
run: make test-automation
run-tests-extensions:
runs-on: macos-14-xlarge
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install yeetd
run: |
wget https://github.com/biscuitehh/yeetd/releases/download/1.0/yeetd-normal.pkg
sudo installer -pkg yeetd-normal.pkg -target /
yeetd &
- name: Test
run: make test-content-extension test-service-extension
run-package-tests:
runs-on: macos-14-xlarge
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install xcodegen
run: brew install xcodegen
- name: Test
run: make test-packages
build-samples:
runs-on: macos-14-xlarge
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Build samples
run: make build-samples
# run-tests-watchos:
# runs-on: macos-14-xlarge
# steps:
# - uses: actions/checkout@v4
# - uses: ruby/setup-ruby@v1
# with:
# bundler-cache: true
# - name: Install xcodegen
# run: brew install xcodegen
# - name: Install Apple Certificate
# uses: apple-actions/import-codesign-certs@v1
# with:
# p12-file-base64: ${{ secrets.CERTIFICATE_P12_BASE64 }}
# p12-password: ${{ secrets.CERTIFICATE_P12_PASSWORD }}
# - name: Install the provisioning profile
# env:
# PROVISIONING_APP_BASE64: ${{ secrets.PROVISIONING_PROFILE_APP_BASE64 }}
# PROVISIONING_EXT_BASE64: ${{ secrets.PROVISIONING_PROFILE_EXT_BASE64 }}
# run: |
# PP_APP_PATH=$RUNNER_TEMP/wkapp_prof.mobileprovision
# PP_EXT_PATH=$RUNNER_TEMP/wkext_prof.mobileprovision
# echo -n "$PROVISIONING_APP_BASE64" | base64 --decode > $PP_APP_PATH
# echo -n "$PROVISIONING_EXT_BASE64" | base64 --decode > $PP_EXT_PATH
# mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
# cp $PP_APP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
# cp $PP_EXT_PATH ~/Library/MobileDevice/Provisioning\ Profiles
# - name: Test
# run: make build-sample-watchos
pod-lib-lint-watchos:
runs-on: macos-14-xlarge
steps:
- uses: actions/checkout@v4
- name: Pod lint
run: make pod-lint-watchos
pod-lib-lint-tvos:
runs-on: macos-14-xlarge
steps:
- uses: actions/checkout@v4
- name: Pod lint
run: make pod-lint-tvos
pod-lib-lint-ios:
runs-on: macos-14-xlarge
steps:
- uses: actions/checkout@v4
- name: Pod lint
run: make pod-lint-ios
pod-lib-lint-extensions:
runs-on: macos-14-xlarge
steps:
- uses: actions/checkout@v4
- name: Pod lint
run: make pod-lint-extensions
# pod-lib-lint-visonos:
# runs-on: macos-14-xlarge
# steps:
# - uses: actions/checkout@v4
# - name: Pod lint
# run: make pod-lint-visionos