-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (31 loc) · 889 Bytes
/
build.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
name: Build Project
on:
push:
pull_request:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Apple Xcode Select
uses: BoundfoxStudios/action-xcode-select@v1
with:
version: latest
beta: false
- name: Build iOS
uses: sersoft-gmbh/xcodebuild-action@v3
with:
project: Example/HierarchyResponderExample.xcodeproj
scheme: HierarchyResponderExample
destination: generic/platform=iOS Simulator
action: build
- name: Build Mac Raw
run: swift build
- name: Build Watch
uses: sersoft-gmbh/xcodebuild-action@v3
with:
project: Example/HierarchyResponderExample.xcodeproj
scheme: HierarchyResponderExampleWatch
destination: generic/platform=watchOS Simulator
action: build