-
-
Notifications
You must be signed in to change notification settings - Fork 3
48 lines (44 loc) · 1.1 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
40
41
42
43
44
45
46
47
48
name: xcodebuild
on:
push:
branches:
- main
paths:
- '.github/workflows/xcodebuild.yml'
- 'Examples/**/*.swift'
- 'Package*'
- 'Sources/**/*.swift'
- 'Tests/**/*.swift'
pull_request:
paths:
- '.github/workflows/xcodebuild.yml'
- 'Examples/**/*.swift'
- 'Package*'
- 'Sources/**/*.swift'
- 'Tests/**/*.swift'
workflow_dispatch: ~
concurrency:
group: xcodebuild-${{ github.ref }}
cancel-in-progress: true
jobs:
xcodebuild:
runs-on: macos-14
strategy:
matrix:
xcode:
- '15.4'
destination:
- 'platform=macOS'
- 'platform=iOS Simulator,name=iPhone 15 Pro Max'
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- uses: actions/checkout@v4
- run: xcodebuild -version
- name: Build with Xcode
run: |-
set -o pipefail
xcodebuild test \
-scheme AppStoreConnect-Package \
-destination "${{ matrix.destination }}" \
| xcbeautify --renderer github-actions