-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 1.15 KB
/
xcodebuild.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
name: Xcode Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build-macos-catalyst:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build macOS
run: xcodebuild -scheme FHDiffableViewControllers -destination 'platform=macOS,arch=x86_64,variant=Mac Catalyst'
- name: Run macOS tests
run: xcodebuild -scheme FHDiffableViewControllers -destination 'platform=macOS,arch=x86_64,variant=Mac Catalyst' test
build-ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build iOS
run: xcodebuild -scheme FHDiffableViewControllers -destination 'name=iPhone 12'
- name: Run iOS tests
run: xcodebuild -scheme FHDiffableViewControllers -destination 'name=iPhone 12' test
build-tvos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build iOS
run: xcodebuild -scheme FHDiffableViewControllers -destination 'name=Apple TV'
- name: Run iOS tests
run: xcodebuild -scheme FHDiffableViewControllers -destination 'name=Apple TV' test