-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (32 loc) · 974 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
name: Build
on:
push:
branches: "*"
pull_request:
branches: "*"
jobs:
build:
runs-on: macos-14
steps:
- uses: maxim-lobanov/setup-xcode@v1.1
with:
xcode-version: "16.0"
- uses: actions/checkout@v2
- name: xcodebuild
run: xcodebuild -scheme SwiftUISupport -sdk iphoneos -destination 'generic/platform=iOS'
test:
runs-on: macos-14
steps:
- uses: maxim-lobanov/setup-xcode@v1.1
with:
xcode-version: "16.0"
- uses: actions/checkout@v2
with:
submodules: true
- name: Test
run: xcodebuild -scheme SwiftUISupport -resultBundlePath results/SwiftUISupportTests.xcresult test -destination 'platform=iOS Simulator,name=iPhone 8,OS=16.2' -derivedDataPath ./DerivedData | xcpretty
- uses: kishikawakatsumi/xcresulttool@v1
with:
path: |
results/SwiftUISupportTests.xcresult
if: success() || failure()