-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (30 loc) · 948 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
name: Build
on:
push:
branches: "**"
pull_request:
branches: "**"
jobs:
build:
runs-on: macos-12
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: "14.2"
- uses: actions/checkout@v2
- name: xcodebuild
run: xcodebuild -scheme WrapLayout -sdk iphoneos -destination 'platform=iOS Simulator,name=iPhone 8,OS=16.2'
test:
runs-on: macos-12
steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: "14.2"
- uses: actions/checkout@v2
- name: Test
run: xcodebuild -scheme WrapLayout -resultBundlePath results/WrapLayout.xcresult test -destination 'platform=iOS Simulator,name=iPhone 8,OS=16.2' -derivedDataPath ./DerivedData | xcpretty
- uses: kishikawakatsumi/xcresulttool@v1
with:
path: |
results/WrapLayout.xcresult
if: success() || failure()