generated from wayfair-incubator/oss-template
-
Notifications
You must be signed in to change notification settings - Fork 3
110 lines (94 loc) · 3.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
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
name: ci
on: # Rebuild any PRs and main branch changes
push:
branches:
- main
- develop
pull_request:
jobs:
test-vsm:
runs-on: macos-14
steps:
- name: Prepare Xcode
uses: maxim-lobanov/setup-xcode@v1 # https://github.com/marketplace/actions/setup-xcode-version
with:
xcode-version: 15.2.0
- name: Checkout
uses: actions/checkout@v4
- name: Build and Test VSM on macOS (Intel)
uses: sersoft-gmbh/xcodebuild-action@v3 # https://github.com/marketplace/actions/xcodebuild-action
with:
spm-package: ./
scheme: VSM
destination: platform=macOS,arch=x86_64
action: test
- name: Build and Test VSM on Mac Catalyst (Intel)
uses: sersoft-gmbh/xcodebuild-action@v3 # https://github.com/marketplace/actions/xcodebuild-action
with:
spm-package: ./
scheme: VSM
destination: platform=macOS,arch=x86_64,variant=Mac Catalyst
action: test
- name: Build and Test VSM on iOS
uses: sersoft-gmbh/xcodebuild-action@v3 # https://github.com/marketplace/actions/xcodebuild-action
with:
spm-package: ./
scheme: VSM
destination: platform=iOS Simulator,OS=17.0.1,name=iPhone 15
action: test
- name: Build and Test VSM on watchOS
uses: sersoft-gmbh/xcodebuild-action@v3 # https://github.com/marketplace/actions/xcodebuild-action
with:
spm-package: ./
scheme: VSM
destination: platform=watchOS Simulator,OS=10.0,name=Apple Watch Series 9 (45mm)
action: test
- name: Build and Test VSM on tvOS
uses: sersoft-gmbh/xcodebuild-action@v3 # https://github.com/marketplace/actions/xcodebuild-action
with:
spm-package: ./
scheme: VSM
destination: platform=tvOS Simulator,OS=17.0,name=Apple TV 4K (3rd generation) (at 1080p)
action: test
- name: Build and Test VSM on visionOS
uses: sersoft-gmbh/xcodebuild-action@v3 # https://github.com/marketplace/actions/xcodebuild-action
with:
spm-package: ./
scheme: VSM
destination: platform=visionOS Simulator,OS=1.0,name=Apple Vision Pro
action: test
# The following jobs are disabled until further notice to unblock work
# Xcode currently has UI test runtime issues since Xcode 14.3
# These UI tests should be run manually by engineers until the Xcode runtime issues are resolved
# test-swiftui-demo-app:
# runs-on: macos-13
# steps:
# - name: Prepare Xcode
# uses: maxim-lobanov/setup-xcode@v1 # https://github.com/marketplace/actions/setup-xcode-version
# with:
# xcode-version: 14.3.1 # Xcode 15 has UI test runtime issues
# - name: Checkout
# uses: actions/checkout@v4
# - name: Build and Test Demo App
# uses: sersoft-gmbh/xcodebuild-action@v2 # https://github.com/marketplace/actions/xcodebuild-action
# with:
# project: ./Demos/Shopping/Shopping.xcodeproj
# scheme: Shopping
# destination: platform=iOS Simulator,OS=17.0.1,name=iPhone 14
# action: test
# test-uikit-demo-app:
# runs-on: macos-13
# steps:
# - name: Prepare Xcode
# uses: maxim-lobanov/setup-xcode@v1 # https://github.com/marketplace/actions/setup-xcode-version
# with:
# xcode-version: 14.3.1 # Xcode 15 has UI test runtime issues
# - name: Checkout
# uses: actions/checkout@v4
# - name: (UIKit) Build and Test Demo App
# uses: sersoft-gmbh/xcodebuild-action@v2 # https://github.com/marketplace/actions/xcodebuild-action
# with:
# project: ./Demos/Shopping/Shopping.xcodeproj
# scheme: Shopping - UIKit
# destination: platform=iOS Simulator,OS=17.0.1,name=iPhone 14
# action: test